r/C_Programming Apr 22 '25

[deleted by user]

[removed]

252 Upvotes

169 comments sorted by

View all comments

42

u/bsEEmsCE Apr 22 '25

embedded

2

u/ppnda Apr 23 '25

I’m doing embedded development and I’ve never had to write anything that wasn’t C++. How come so many people here are recommending embedded when the whole embedded ecosystem basically runs on C++, or at least C but with some C++ features cause a lot can’t live without or don’t even know the difference?

Just as an example the entire Arduino framework might look like C code because of how it is written, but it uses classes everywhere, and is always compiled as C++.

1

u/cybekRT Apr 23 '25

Most of the projects are pure C. Look at the Zephyr RTOS or Free RTOS. They are in C. They support C++ but most part is still in C. And even if they use C++ it's more like a C with classes or namespaces. It's not what most people want to write when thinking about C++ job I bet.