logoalt Hacker News

cogman10 • today at 3:53 PM • 2 replies • view on HN

The only sane usage of C++ is "This is a legacy project, needs to integrate with a legacy C/C++ project, or all our engineers are C++ experts and they don't want a new language".

For everything else, you should pick one of any number of other languages. Rust, swift, zig, go, java, python, javascript. Take your pick.


Replies

pjmlp • today at 4:24 PM

Agree, however those other languages will have C++ on their infrastructure maybe forever, due to the costs of fully bootstraping a compiler toolchain and backend support for various kinds of operating systems and processors.

So it is more a kind of gray answer, with polyglot development approach in many cases.