upvote
We live in a world where the labs are still training on Fortran! If Fortran hasn't gone C++ won't either. So no, it isn't going anywhere soon, just by nature of being an incumbent.
reply
What labs?

We have some of our country's most powerful supercomputers, and the people supervising them don't know any Fortran. Last century's Fortran books from their predecessors are still here, but "My Fortran doesn't work" is going to get you the same odd stares as "Why can't I pay with farthings?" or other stuff that hasn't made sense for decades. [The farthing is about £0.001 and thus it was already basically worthless when it was formally demonetized in 1961]

reply
AFAIK Fortran is still heavily used in the physical sciences, from particle simulations to weather and climate models.
reply
R is partially implemented in Fortran.

So while no one where I work knows Fortran either, we have people who know R and so are dependent on Fortran by association.

reply
What kind of existence? COBOL and Ada 'exist'.

The machine already knows the CPP core guidelines better than any human, so you won't be able to drop in on a project as a consultant just from knowing the language well.

There's a project I once worked on that would be unfeasible to rewrite because there is so much unwritten about how it should perform - there are too many features and targets to test exhaustively. But that company already did layoffs pre-AI, because it already didn't take many devs with domain knowledge to keep it ticking. That project won't demand much language support and an industry of these projects won't be desirable to work in.

reply
They've been saying C++ is dying for decades now but it's still here with (almost) all its problems :)
reply