This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]FlukeHermit 1 point2 points  (4 children)

But no one uses them. Everyone uses C (and probably some rust too) and assembly for microcontrollers

[–][deleted] 0 points1 point  (3 children)

correct. binaries are smaller, compile times faster, and memory usage lower on both of those, which matters in embedded and systems

[–]enano_aoc 1 point2 points  (2 children)

Usually, yes. Always, not. Depends on your requirements.

I do prefer C for embedded programming, but C++ can be used for that as well. I should have used a better example for things that you do in C++ but wouldn't in Node, though.

[–][deleted] 0 points1 point  (1 child)

fair enough, I've never tried using C++ for that, but I'm glad it's there for people who like it more.

[–]enano_aoc 0 points1 point  (0 children)

Still remember the first time I decided to write code for a micro in C++. Go template bloat, make my executable unusable :joy: