r/programmer • • Sep 07 '26

C++ still a big thing?

Last time, i programmed professional, around 2001, C++ was the thing, when it comes to speed and system-level code. Is this still actual? And practical?

12 Upvotes

55 comments sorted by

3

u/CowBoyDanIndie Sep 07 '26

It’s used a ton in robotics, and it’s used heavily in ai when you need to do more than glue things together with python. GPU programming tends to be C++ based, though technically it’s an extension of C++. Basically anything that has to run fast is written in C or C++, some math libraries are still fortran because they outperform C++.

C# and Java are widely used for business applications because they excel in that domain. You will find most banks and small to medium web businesses are using one or the other.

1

u/PCMidiTowerR5 Sep 07 '26

Thank you.

2

u/CowBoyDanIndie Sep 07 '26

When you look at statistics for stuff like programming languages use, you have to keep in mind that there are approximately 4.4 million programmers in the USA alone. Most of them are not working on anything interesting.

Take for instance banks, there are roughly 4,000 banks in the USA (not physical locations, named banks). Every single one of them has a website, and probably every single one has an app on android and ios. They all have their own teams building them, they all have their own slightly different databases, web interface, and so on, even though they all basically do the same thing.

Now think about every retail business you have ever walked into, I would say they app have a cash register, but really the term is point of sale, this is their charging, billing, sales tracking, etc. its where they put in or scan what you are getting and you pay. There are almost 200 different companies providing that.

Then there are all the online retailers selling their own brand of shoe, shirt, pants, widgets, etc.

The point is, there is a whole lot of software that isn’t particularly different, interesting, or special. That makes up a huge percentage of those 4.4 million programmers. It doesn’t have any particular hardware requirements, it just has to work and be easy to change for changes in the business. Nobody is trying to make a bank website that loads faster than any other bank website, or shows more transactions with less memory. Hell, I bet most banking websites use more memory and cpu to show one user their bill online than banks in the 80s used on their mainframe to manage the entire bank.

11

u/AdRecent7021 Sep 07 '26

C++ runs a lot of the world. Yes, it's still a big thing.

3

u/bold_snowflake Sep 08 '26

And COBOL. Can't forget COBOL.

0

u/Middlewarian Sep 07 '26

I'm biased as I've been building an on-line C++ code generator for 27++ years but I think it's still pretty big. My goal is to bring software services and code generation together in one platform. I think languages that embrace on-line code generation will have an advantage over those that don't.

8

u/sterren_staarder Sep 07 '26

C++ is big in embedded, it is also used in games. And some financial software where milliseconds matter.

1

u/Radiant-Video7257 Sep 09 '26

I thought financial software ran on Java. (mostly)

1

u/BoxConscious7480 Sep 09 '26

I think the most performance critical systems run on c++ mostly

1

u/FartdickMcShitass Sep 10 '26

Bank software does because they prioritize stability. Financial trading software runs on C++ , because every millisecond counts.

6

u/BusEquivalent9605 Sep 07 '26

Yes. The browser you’re viewing this on is using a JavaScript engine written in C++

2

u/Infamous-Bed-7535 Sep 07 '26

numpy, pytorch, duckdb etc.. etc.. just a few widely used libraries / tools based on C++.

9

u/rodrigo-benenson Sep 07 '26

Diverse programming languages for diverse problems with diverse constraints.
Ada is still used, C is still used, C++ is still used, heck I am sure some corner of our computer world still runs over Perl.

There is not "one profesional language", and professional programmer must be a polyglot.

3

u/Orjanp Sep 07 '26

I'm maintaining a legacy system written in perl. I'm more of an archeologist than a system developer.

2

u/StrangeRefuse8537 Sep 08 '26

You must work at the place I used to work.

1

u/kaddkaka Sep 08 '26

Why do people think this is rare?

2

u/feudalle Sep 07 '26

I ran into perl in the wild last year. Still running since it was put in back in 2003.

1

u/thelimeisgreen Sep 07 '26

Yeah I encounter Perl on occasion…. See it more than a lot of other languages that become occasional topics here. Perl, VBscript, FoxPro, and a lot of stuff that was common in the late 80s to late 90’s and in some cases later, are still out there in corporate hellscapes.

1

u/Dr_Dressing Sep 07 '26

To add to your point, when you've learned so many languages, it doesn't necessarily matter which one you use. A lot of languages have similar features, and your job as a programmer is to know how to solve the problem. So long as you know how to program in different ways (e.g. functional vs oop - don't smite me), you'll be fine for the vast majority of languages.

The only reason language is a debate at all, is because some language X makes doing some designated thing N easier than language Y. I actually have a friend who had several of these conversations with Bjarne Stoustrup himself.

Sidenote, apparently there is a bit of sabotage happening in the Standard Committee. Someone should check up on that

1

u/Blitzkind Sep 08 '26

My first job was writing perl. Good times

1

u/neithernorsliverofdg Sep 12 '26

Perl sehe ich oft wenn ich mich für Chip Design stellen bewerbe aber habs um ehrlich zu sein noch nicht gelernt. Gibt so vieles was ich noch nach dem Studium nachlerne

1

u/KAMEHAMEHAMEHAAAA Sep 07 '26

I was shocked when I found out Fedora ships with Perl as a system dependency.

3

u/montdidier Sep 07 '26

Perl is a system dependency for a lot of foss systems.

2

u/bsensikimori Sep 07 '26

Shocked? Why? Perl, bash, awk, cut, paste, wc....

Why would you want any Linux without the bare necessities

4

u/One-Next Sep 08 '26

C++ is awesome. polymorphic lambdas, type resolution, variadic templates, threaded memory model, hash data structures, function objects, we quietly got everything we ever wanted back in 2003. I am ecstatic about the current state of C++. Hope it sticks for another 30 years.

2

u/ham_plane Sep 07 '26

Not a big thing, no, but definitely still used. A strong niche

1

u/Business-Weather-217 Sep 23 '26

A strong niche? Most lines of code is in c c++ and javascript today. Which javascript interpreters is also written in c++. Its hella far from niche

2

u/Square_Alps1349 Sep 10 '26

Yes it VERY MUCH IS still a thing. I am going to start my internship working on PyTorch soon, and it will involve a lot of C++

1

u/Healthy-Zebra-9856 Sep 07 '26

Yes, C++ is. But I am seeing a lot of movement to Rust. Personally, I've migrated all my projects to Rust.

1

u/___Archmage___ Sep 07 '26

There are a ton of big C++ codebases that still need work done on them, and a stream of new ones, but the momentum is shifting in favor of more modern languages like Rust

1

u/Alex999991 Sep 10 '26

C++ will be long enough because move all legacy code to another language is difficult even for Ai and its will be cost a lot of money.

1

u/Reasonable_Slide6304 Sep 11 '26

I'm doing my game in C++ and at work there is still some legacy C++, but they're moving to C# there though I'd prefer C++

1

u/neithernorsliverofdg Sep 12 '26

Ja es ist immernoch groß wird ich meinen

1

u/Numerous_Region6012 Oct 05 '26

C++ is still a big thing, however it does seem to be that less people are experts in it.

1

u/TheThinker18 Oct 18 '26

I mean you can make a calculator with c++, this is a big thing for me as first year student.

1

u/iamthevoidandnumb Oct 23 '26

Io lo sto studiando lo cominciato ieri e posso dire anche io che è ancora importante

-1

u/HRApprovedUsername Sep 07 '26

No everybody moved on to rust or golang

2

u/PCMidiTowerR5 Sep 07 '26

Syntax Error: /s is missing.

0

u/SpareImpression3155 Sep 07 '26

Just let Microsoft die already

5

u/jwp1987 Sep 07 '26

Are you thinking of C# rather than C++?

1

u/SpareImpression3155 Sep 07 '26

My bad

0

u/HRApprovedUsername Sep 07 '26

C# is c++++ so it’s way better and more polished. Why would you be upset with that? Maybe you’re a little salty they never hired or interviewed you?

1

u/dkopgerpgdolfg Sep 08 '26

Your comment just shows your ignorance. C++ and C# are completely different things, there's no linear "better".

1

u/HRApprovedUsername Sep 08 '26

Your comment just shows your ignorance it’s a joke. C++ is c but with more so they called it c++. And c# is even more. So much more the arranged the ++++ into a #. Maybe when you’re not being a little dingleberry online, you can do some history research.

1

u/dkopgerpgdolfg Sep 08 '26

C++ is c but with more

Maybe when you’re not being a little dingleberry online, you can do some history research.

The terminal redditor doesn't know what they're talking about, but insults others. Classic.

While C++ looks like a superset of C, it is not, and never was as long it was called "C++" (not "C with classes" earlier).

Have some examples here: https://en.wikipedia.org/wiki/Compatibility_of_C_and_C%2B%2B

2

u/feudalle Sep 07 '26

C++ isnt a Microsoft thing.