Hacker News new | ask | show | jobs
by setzer22 2133 days ago
(Answering a bit late, sorry I missed your reply!)

I still don't get it... How do you know when to activate the trap handler if you're not checking every time? It's not enough to wait for an error condition (e.g. an invalid pointer). If it's an array of integers, and I sneak in a string in there, what's stopping the JITed version from treating that pointer as an integer?