Perhaps I should've said biologically, as the article did. The point is that when you say one class of people (females) isn't represented in an industry because "they just aren't born that way," what differentiates it from any other class of people (such as African Americans).
Except that many different countries have a similar cultural attitude towards females.
And again, taking a correlation between gender and math scores and extrapolating a genetic predisposition of a gender to fail in an entire class of industries is a stretch to say the least.
You can still use mmap/equivalent to allocate executable memory and package unsafe to use it; the difference is that the memory allocated normally by the runtime won't be executable.