Hacker News new | past | comments | ask | show | jobs | submit login

My fondest memory of Duff's device is implementing it for performance purposes in Java and watching the unexpected Havoc it wrought on Java decompilers.

A few lines of otherwise easily decompile-able Java turned into hundreds of lines of dealing with "broken" control flow (if they didn't just crash outright).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: