3 ms·
You're making the flawed assumption that all consumer devices have a brand new stack of software written for them, which is absolutely false. Every popular OS
by the_trapper 10y ago
You're making the flawed assumption that all consumer devices have a brand new stack of software written for them, which is absolutely false. Every popular OS kernel in use today is primarily written in C and C++. Most consumer devices are running some flavor of a *nix kernel (mostly Linux, with a healthy smattering of the BSDs as well).
People have been predicting the death of C and C++ for decades now and those two languages are as strong today as they ever were. BASIC and Pascal were supposed to kill them in the 80s on microcomputers. Java was supposed to kill them in the 90s, now people think Rust will do it, but history shows that to be pretty unlikely. C and C++ have an immense amount of inertia that is unlikely to be stopped any time soon.
- kibwen 10y ago> 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).