3 ms·
All those "language market shares" are not very indicative of the multifaceted language landscape. C++ is certainly not becoming the language of wannabe resear
by sharikous 5y ago
All those "language market shares" are not very indicative of the multifaceted language landscape.
C++ is certainly not becoming the language of wannabe research data scientists that made Python grow so much, but of course there are fields where it is growing and there are fields where adoption is decreasing.
I doubt that HFT used Python before a C++ wave swept it, since speed has always been a concern, so I am skeptical of the article.
As to the "Rust is the C++ killer" crowd... show me a really big project using mainly Rust now, as there are uncountable using C++, a network simulator, a desktop application, a physical simulation engine, an operating system, a compiler, anything really big. You perhaps will find one or two, compared to thousands for C++. The best that you can hope is to see Rust seriously compete with Rust 15 years from now. And then overtaking it, perhaps. Best case scenario.
- smoldesu 5y agoC++ and Rust are not competing languages. In many instances, they actually compliment each other pretty well. Rust offers native interop for C++ code, but the cost of running it is that it's labelled "unsafe" and doesn't offer any of the memory safety that truly "safe" Rust code offers (duh). With that being said though, most of the infrastructure that C++ left behind is perfectly usable in Rust. With that in mind, the "15 year plan" for Rust is to work alongside C++, giving developers a safer, oftentimes easier option for writing performant code. Rust isn't the anything killer, Rust is Rust. That's why it's so special; it's really in a league of it's own.
- davesque 5y ago> show me a really big project using mainly Rust now, as there are uncountable using C++ For starters, the Rust compiler is self hosted and is written in Rust. Many important parts of Firefox are written in Rust. The Linux kernel just added support for Rust. A moment's Googling could turn up plenty of other examples.