Hacker News new | ask | show | jobs
by jws 5347 days ago
Though C++ is the "normal" language, typically you only use a C like subset. 1kB of RAM doesn't go too far in STL.

Likewise, Python isn't going to go far in 1kB of RAM.

But there is hope! The newer Arduinos have 2kB of RAM!

1 comments

actually the STL can be quite useful sometimes, it definitely allows you tight control over the memory layout. I don't want to go too far into something I don't know that much about (the STL, which I actually avoid due to more mundane issues of often not being able to compile libstdc++ for my embedded targets :), but I found templating extremely useful when tackling embedded programming.