Re:Criticizing the Rust Language, and Why C/C++ Will Never D...
by kibwen on Friday August 05, 2016 @04:49PM
(#12235656)
> You're making the flawed assumption that all consumer
> devices have a brand new stack of software written for
> them, which is absolutely false.
Except that, in practice, Android, iOS, and Windows Phone all had brand new stacks of software written for them. :P
> People have been predicting the death of C and C++ for
> decades now
Except that Java did kill C++ in the business application space. And Perl did kill C in the system administration space. New languages have been driving these two languages into ever-more specific niches for decades.
Also, I'm not sure why you're talking about C and C++ as though they're the same language. C's biggest long-term strength is ubiquitous platform support, and those platforms do not support C++. I see C as being unassailable in this space. But C++ is doing its damnedest to cling to the low-level application niche, and while it's going to continue to dominate there for the foreseeable future Rust is going to give it a run for its money.
In the meantime, Rust doesn't need to kill C++ to be successful. Rust's best niche--that is, safety-hardened low-level applications--is more than lucrative enough to sustain it, especially with a major player like Mozilla proving its utility. And thanks to this same safety, Rust is seeing use in niches that C++ has never gained traction in, such as being a language for writing extensions for dynamic language runtimes (traditionally a task for C).
Also, I'm not sure why you're talking about C and C++ as though they're the same language. C's biggest long-term strength is ubiquitous platform support, and those platforms do not support C++. I see C as being unassailable in this space. But C++ is doing its damnedest to cling to the low-level application niche, and while it's going to continue to dominate there for the foreseeable future Rust is going to give it a run for its money.
In the meantime, Rust doesn't need to kill C++ to be successful. Rust's best niche--that is, safety-hardened low-level applications--is more than lucrative enough to sustain it, especially with a major player like Mozilla proving its utility. And thanks to this same safety, Rust is seeing use in niches that C++ has never gained traction in, such as being a language for writing extensions for dynamic language runtimes (traditionally a task for C).