News for hackers. Stuff that matters.
Re:C’s Biggest Mistake (2009) by nordsieck on Saturday September 12, 2020 @07:25PM (#24456787)
> C code is being replaced by Rust fast.

One of the key areas C is used that Rust cannot be used easily is in limited embedded devices. That looks like it'll be the case for at least 10 years and probably much longer than that.

Re:C’s Biggest Mistake (2009) by sam_bristow on Saturday September 12, 2020 @08:32PM (#24457174)
The embedded Rust ecosystem is actually pretty vibrant these days. The number and quality of #![no_std] crates is improving rapidly.

The main limitation is going to be if your MCU is supported by LLVM. If you're targetting ARM, RISC-V, MSP430 or Xtensa you might get further than you'd expect.

There's a hell of a lot of tooling built around C though. So nomatter what happens I don't think we'll ever be rid of it.

Re:C’s Biggest Mistake (2009) by rleigh on Sunday September 13, 2020 @09:43AM (#24460789)
Many, if not most, small MCUs can also run C++ these days as just as well as C. If you want to write simpler and more robust applications, it's easily achievable.