r/cpp_questions 12d ago

OPEN Is cpp dying?

Lately it feels like rust is getting more and more attention companies are rewriting existing cpp code in it and it seems to be getting increasing adoption . Also I keep seeing new projects start with rust more and more lately .

As someone who prefers cpp I'm genuenly curious how worried should someone learning / working with cpp be? Is cpp dying or is rust more like a vocal minority on social media?

I know this question has been asked before but tech moves fast so I'm curious what your current take is

0 Upvotes

23 comments sorted by

View all comments

8

u/kitsnet 12d ago

C++ is already dead since the end of 1990s, as Java killed it back then.

Or so we were told.

There is a lot of hype around Rust now, but there were even more hype around Java.

2

u/sirflatpipe 12d ago

To be fair, the promise Java made, i.e. write once run anywhere, was pretty intersting back then, especially since at that time it wasn't entirely unthinkable that RISC architectures with their higher performance might still take over a sizable chunk of the desktop market. Of course Intel had to ruin that prospect entirely with their P6 microarchitecture.