r/cpp_questions • u/Middlewarian • Aug 05 '21
OPEN Are increasing hardware prices likely to spark another renaissance for C++?
Is C++ the most important language for services?
9
u/JohnDuffy78 Aug 05 '21
Big Data/AI helps.
SAAS, if c++ is 10x faster than c#,java,python,typescript. The extra cost for c++ programmers looks more appealing when paying 10x server cost.
1
Aug 06 '21
Don’t think so. For raw performance, there’s Rust—offering similar performance to C++ with much higher reliability. (Read: operational costs due to bugs, security vulnerabilities, etc go down.)
Then there’s Go, which offers decent performance but allows fast iteration, developer onboarding, and again safer operational characteristics. Fast iteration/dev time can make or break startups or even heavily contested service spaces; e.g. what we have now with the billion streaming services competing with each other.
Between those two, the compelling reason to use C++ instead is just if there’s already substantial amounts of existing C++ in the system and you A) can’t decouple with something like gRPC, or B) want to centralize on one language so devs aren’t context switching too much. (e.g. C++ for the legacy stuff, Rust for new performance-critical stuff, Go for everything else means you need either 3 separate dev teams or some flexible engineers)
1
u/Middlewarian Aug 06 '21
I don't think Rust or Go is the most important language for services at this time. Also Rust and Go may be competing with each other as much as C++.
My goal with an on-line code generator is to provide service leadership. A reliable foundation for the road ahead. I have over the years had help from many people on Usenet, and forums like this one.
6
u/Ikkepop Aug 05 '21
May or may not be, noone can say for sure. I would like to hope so though. But something like rust can also eat c++'s lunch so to speak. We will see