3 ms·
> It's really hard to kill off C. While I totally agree with C's longevity, Rust has something special going on. You know that long bets website? I'd be happy
by echelon 10y ago
> It's really hard to kill off C.
While I totally agree with C's longevity, Rust has something special going on.
You know that long bets website? I'd be happy to place a ten year bet with someone that Rust starts taking a big slice of C's pie. For kernel development, embedded systems, you name it. I'd be happy to qualify my bet with metrics based assertions, too.
- s_ngularity 10y agoIt seems highly unlikely to me that Rust would take over true embedded systems (i.e. EEPROM, no OS, etc.), simply because nobody is going to write a Rust compiler for their custom architecture. The resource constraints are what make C essentially the optimal solution for those applications
- Manishearth 10y agoNote that you just need to write an LLVM backend for this, not a full fledged Rust compiler. LLVM IR is somewhere between C and assembly so it should be about as hard as writing a C compiler. Rust works fine without an OS. Some of the nice-to-have-stuff (inline assembly) aren't stable yet (I have been meaning to push for this with an rfc), but they'll get there.