| > Rust has approximately 1.5 advantages over C/C++ I can think of at least 3 that deserve a whole integral bullet point: * ADTs * Hindley-Milner/typeclass type system * Lifetimes and affine types And a bunch of minor ones that count for something like 0.1-0.5 of an advantage. I would guess we're on track for a majority-of-new-code switchover point somewhere around 2030-2035. |
What is an advantage or a disadvantage depends on who you are. Personally, I find the disadvantages (as I see them) outweigh the advantages. Others believe that some of those disadvantages are actually good things. And some of them depend on whether you are comparing to C or C++: compared to C, Rust has many disadvantages, but C++ has many of the same disadvantages, and often is worse.
I don't think Rust will ever have more new code being written in it than C and C++ combined. I doubt it will overtake either individually.