Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
shakna
25 days ago
|
parent
|
context
|
favorite
| on:
JIT Compiling Code in 5μs
The wiki page mentions this is only a minor problem. Because everyone just writes, then switches and executes.
asdfsa32
25 days ago
[–]
But this means that you have to decide who is allowed to switch.
shakna
25 days ago
|
parent
[–]
VirtualProtect/mprotect aren't privileged calls on any modern OS.
It's how you do JIT on macOS, where W^X is enforced, for example.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: