I’m curious about what sort of applications would need so much control Over the memory used by variables. Do you have any examples of things you have written that used this type of memory management?
It's less about variables, but the specific code that uses these cross platform functions uses them to dynamically generate code (with the page mapped as read/write) and then changes the protections to read/execute for executing the code.