Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
petertodd
5y ago
0 comments
Save
Share
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.
0 comments
2 comments · 1 top-level
top
newest
oldest
MaxBarraclough
5y ago
· 1 in thread
To put that another way: hardware failures are beyond the scope of the compiler.
wizzwizz4
5y ago
Maybe
your
compiler.
j
/
k
navigate · click thread line to collapse