How can Duff’s device code be compiled?
The “how it works” is simple enough. Both C and C++ are compiled languages, and normally compiled to the platforms machine code. Machine code has no concept of block structures – all block structures must be translated to a form that uses (in effect) some mix of unconditional and conditional gotos. The C syntax rules … Read more