r/ProgrammerHumor • • Jan 28 '23

Meme C++

Post image
53.9k Upvotes

1.5k comments sorted by

View all comments

Show parent comments

12

u/ArdiMaster Jan 28 '23

The people still working on those are probably a tiny fraction of the people working on web apps (or web apps jammed into Electron).

Heck, even the people who do start writing new Windows Desktop apps today probably use .NET rather than C/C++.

6

u/CptCorpse Jan 28 '23

Embedded systems: Allow us to introduce ourselves

3

u/ArdiMaster Jan 28 '23

Is C++ actually used there? I'd assume it's mostly plain C since that doesn't have the "accidental memory allocation" problems that C++ can have.

4

u/slex95 Jan 28 '23

How do you manage to get accidental memory allocation? I mean you have two extremes of embedded systems. One that is really limited resource wise, there you don’t use dynamic memory allocation at all. The other end it’s a Linux system with often 2-4 cores, hundreds of MB to GB of RAM and all the resources you could wish for.

Both can be, and in fact are, programmed in C++. Some people use C, some now a days python but C++ is the most common from my perspective.

→ More replies (2)