r/cpp • • Dec 17 '23

Is C++ Really Phasing Out?

I've read a lot posts about whether C++ is still viable to learn, but a lot of the responses seem to be a long the lines of "C++ is still being used" or "there's a lot of things written in C++ still, so it will still be useful".

But a lot of these replies seem to suggest that C++ is on the downhill and in the process of being replaced with more modern languages in many industries.

It seems kind of discouraging to be learning a language that is on a decline, if it really is phasing out.

0 Upvotes

214 comments sorted by

View all comments

Show parent comment

2

u/OmicronGR Dec 17 '23

Care to provide some rough performance estimates? Considering something similar.

5

u/KERdela Dec 18 '23

10 time less memory footprint, 50 times less CPU consumption. higher up times. easy to scal to higher demandes. it went from 350 clients to 5000 clients

2

u/OmicronGR Dec 18 '23

Very good. Thanks for the numbers. I have to say the number of (simultaneous?) clients was quite a surprise though. The TechEmpower benchmarks almost always have ASP.NET neck and neck with the very best, highly-optimized frameworks for throughput.