3 ms·
I find the Arduino C++ "dialect" being quite orthodox. Maybe a bit too rigorous, since it doesn't use the STL (which is mostly quite fine). I personally don't l
by ktpsns 6y ago
I find the Arduino C++ "dialect" being quite orthodox. Maybe a bit too rigorous, since it doesn't use the STL (which is mostly quite fine). I personally don't like C++ code which exploit all Turing completeness of the templating language. Code using such libraries can get a horror to debug on cryptic compiler error messages.
- gmueckl 6y agoGCC isn't very clever about generating small binaries for embedded targets. Combining this with the code bloat from templates and heap allocator that must then also be linked into the program will make useful programs a tight squeeze in limited microcontroller program memory at the best of times. Dynamic memory management in long running programs with a small heap also invites fragmentation and spurious allocation failures.