4 ms·
This illustrates one of the issues with "high-level" languages: when you need to do something that the language does not allow, you have to resort to horrible h
by jbandela1 12y ago
This illustrates one of the issues with "high-level" languages: when you need to do something that the language does not allow, you have to resort to horrible hacks.
I thought the C version of Duff's device was bad, but this is atrocious. This is non-portable copy-pasta on steroids.
This is one of the reasons why people still use C and C++. When you need to tune something, you can write it using the same language and nicely encapsulate it.
- koffiezet 12y agoExcept that this is C code (well at least some dialect of...) with ASM embedded...