Programming Tips - What's the most far-out C programming thing?
Date: 2008apr2
Language: C/C++
Warning: This was invented in 1984, now-a-days I would just ask the compiler to optimize (eg -O3 option to gcc).
Keywords: duffs
Q. What's the most far-out C programming thing?
A. Quite possibly Duff's Device.
It's mind boggling. It works and is perhaps actually useful
in some limited situations.
http://en.wikipedia.org/wiki/Duffs_device