Answer the question
In order to leave comments, you need to log in
Is Rust another c/c++ killer?
Recently I saw a conference on rust and there a bearded guy from Intel said that c / c ++ is a new assembler that rust will replace as well as C assembler.
For interest, I decided a site on hh.ru and rust has fewer vacancies than assembler and there is no vacancy for juniors, although I found a vacancy for juniors almost immediately in the above-mentioned assembler language.
If in 2015 they said that the language was not mature, then why, if it is so good, has it not become a popular language for almost 10 years?
Answer the question
In order to leave comments, you need to log in
Rust is better than C/C++ in many (probably almost all) aspects. But in comparison with C ++ and especially C, it is too young. The unpopularity of the language is also due to the fact that the market is completely crammed with C and pluses - millions of lines of code and libraries have already been written in C / C ++. Who will rewrite them?
Also, there was no meaningful marketing campaign to popularize Rust. I accidentally heard about this language at Moscow Python Conf ++, before that I thought that when they talk about Rust, they mean the game.
Plus, Rust is a very niche language, just like C/C++. And this niche is system or near-system programming. Operating systems, drivers, high-performance systems, game (and any other) engines, embed - this is the lot of rasta. And in these areas it is not customary, as, for example, in JS to change frameworks and language versions once a week. The community there is extremely conservative.
In addition, Rust has a very high barrier to entry. That's very straight forward. If in the context of C++ they constantly joke about books "learn C++ in 24 hours", then in the context of Rust one can joke about books "learn Rust in a week". Their beautiful paradigm of zero-cost abstractions actually has a cost - the complexity of understanding. For the lack of a garbage collector and the need to clean up the memory, you will have to pay for many hours of war with the compiler, namely, with the borrow checker. And this is just one difficulty
. When you start to understand Rust, everything goes just fine. But until then, you'll have to go through hell and Israel, which C/C++'ers don't want to go through. Because they already passed it when they learned C / C ++ and it was much worse there.
I would really like Rust to replace C/C++, it's objectively better.
Ronald McDonald
So why kill there? Rewriting everything from C / C ++ - nafig, no one will bother and run like that.
Write new / your own - yes to health.
The language has excellent prospects, whether they will be implemented - time will tell.
I'm already preparing skills .... "pet projects", etc.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question