Hacker News new | ask | show | jobs
by petertodd 1927 days ago
There's an easy answer to that: using a magnetic needle to change the bits in your RAM violated the assumptions of the compiler, leading to undefined behaviour. What exactly will happen in that circumstance is just that: undefined.
1 comments

To put that another way: hardware failures are beyond the scope of the compiler.
Maybe your compiler.