r/cpp • • Dec 07 '22

C++ overtakes Java in language popularity index

https://www.infoworld.com/article/3682141/c-plus-plus-overtakes-java-in-language-popularity-index.html
382 Upvotes

137 comments sorted by

View all comments

119

u/feverzsj Dec 07 '22

Kinda make sense. There are tons of embedded c++ jobs emerged this year. Mostly from automotive and medical industry.

2

u/RolandMT32 Dec 07 '22

Interesting.. I thought C was more popular than C++ for embedded jobs. I thought I'd also heard Java was used a lot for some types of embedded devices.

17

u/Astarothsito Dec 07 '22

Interesting.. I thought C was more popular than C++ for embedded jobs.

Sometimes they get bored of recreating C++ only with C macros and they finally switch to C++ (yeah, it still haunts me to this day).

I thought I'd also heard Java was used a lot for some types of embedded devices.

Sadly yes, some devices like pin pads run with Java (which curiously using Java made extremely difficult to get security certified due to the garbage collector and the C++ were easier to code for those security standards because you can clean the memory manually).

2

u/SkoomaDentist Antimodern C++, Embedded, Audio Dec 08 '22

Sometimes they get bored of recreating C++ only with C macros and they finally switch to C++

Exactly. Any large enough C project ends up manually emulating many core C++ features, just much worse than C++ does.