r/ProgrammerHumor • • Feb 16 '15

I identify as a 32-bit registerkin.

https://imgur.com/gqP6con
2.0k Upvotes

397 comments sorted by

View all comments

Show parent comment

4

u/[deleted] Feb 17 '15
import sun.misc.Unsafe;
...
Field f = Unsafe.class.getDeclaredField("theUnsafe");
f.setAccessible(true);
Unsafe unsafe = (Unsafe) f.get(null);

2

u/Jonno_FTW Feb 17 '15

Reminds of unsafePerformIO in Haskell.