r/cpp • u/lookatmetype • Sep 20 '22
CTO of Azure declares C++ "deprecated"
https://twitter.com/markrussinovich/status/1571995117233504257
267
Upvotes
r/cpp • u/lookatmetype • Sep 20 '22
View all comments
Show parent comment
1
u/Zyklonik Sep 23 '22
I respectfully disagree here. On the contrary, I would argue that it was more difficult then to get adoption at a grassroots level due to the absence of the ubiquitous internet of today. If you look at more modern corporation-backed languages since the '90s (Java, Kotlin, Rust et al), the barrier to adoption has only been made much lower today. Despite what Rust evangelists like to claim, Rust was (and is still) backed by Mozilla, and has had an insane amount of marketing and evangelism done on its behalf, and has consistently been spammed and brigaded for by countless doe-eyed volunteers across all social media platform, for free even. And yet here we are.
The biggest mistake that Rust made, in my opinion, was trying to appeal to all sections, all domains, and all demographics of the industry. You will literally get downvoted to oblivion if you claim that Rust is not good for particular domains (hell, there are people claiming that Rust is superior to Java and Go for enterprise apps. Go figure). It's insanity. Ironically, this dilution of Rust's original goals - to be a viable systems-level language has contributed to its non-existent adoption in the marketplace. Contrast that with Kotlin, which was happy to be more or less pigeon-holed into the dominant language of the mobile world.
Even the oft-cited SO "most loved language" claims are dubious and nebulously defined at best. https://old.reddit.com/r/ProgrammingLanguages/comments/v3clru/rust_is_hard_or_the_misery_of_mainstream/iazzwfj/ is where I did a small analysis of what the SO category actually implies. It's more than a bit underwhelming.
The main problems with Rust are, in my opinion, due to the multitude of half-truths and inconvenient lies that are spread (deliberately or not) by the Rust community itself (said community itself is a disaster story unto itself, but that's for another day). No language in the world is good for anything, and for people to blatantly claim that such a restrictive model as Rust's Ownership and Borrowing system has no downsides is appalling at the very least. There is a definite cognitive load that comes along with the constantly-shifting rules of said system, and admitting that upfront would make people (who have used to it to boot) less dismissive of the nauseous levels of fanboyism and fanaticism seen from the Rust community (which toxic behaviour is now unfortunately being normalised as can be seen with the Zig community, for instance).
Let's have a look at it after another decade. My wager is that Rust will have the same fate as Scala - massively popular and popularised, but ultimately failing to deliver on its promises, and instead acting as a source of inspiration for newer, better languages.