Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is not my claim.


It actually is, as it is voiced in a way as if preprocessor was better than using templates.


You'll have to quote me, I don't see where I am implying that.

But anyway, the point that I am refuting is the use of C++ to write programs for such an extremely constrained runtime environnement, and at the same time refuse to use this library (which is template based afaik).


"Template specialization means more generated code, which, again, must fit in 2kb."

Have fun,

"Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17"

https://youtu.be/zBkNBP00wJE?si=im0ga3rW08mR8g8f


That quote does not imply anything about C macro being better in any way, but I am nevertheless delighted that you could prove me wrong somehow. Thank you for this!




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

Search: