On Wednesday, 25 April 2012 at 22:31:59 UTC, H. S. Teoh wrote:
I believenowadays heap memory is non-executable due to security concerns with heap overflow exploits, right? So this may require special treatment.
Yes; it usually boils down to allocating a dedicated page and then setting the executable flag after you are done with setting up your code (e.g. using VirtualAlloc/VirtualProtect on Windows).
David
