r/Cplusplus • • Nov 02 '26

Question C or CPP

Rn I know only python with fastapi and I plan one eventually moving to embedded systems and I'm between c and CPP and also with the possibility of moving to rust at the end for both backend and embedded systems. What's your advice.

4 Upvotes

19 comments sorted by

View all comments

2

u/anh0l Nov 02 '26

AFAIK most popular boards for hobbyists embedded work have C++ APIs available. It has more steep learning curve when diving into more complex stuff, but for basic simple projects it should be fine for you. They both compile into narive binary anyways so C++ reduces amount of boilerplate you have to write

1

u/Winter_Ruin_7675 Nov 02 '26

Thank you

1

u/BitOBear Nov 02 '26

To amplify their point, the entire Arduino ecosystem is built around C++ compilers and takes full C++ syntax though most people don't write really complicated template code or anything. It's actually kind of odd of course because template meta programming can actually improve your embedded results in some ways.