Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> My 17 year old intern learned c in college and prefers it over ‘modern crap’

I had a lot of opinions like this too when I was 17, but age and experience has disabused me of many of them.

The embedded story on Rust still has many rough edges, but it's improving every day, and I could easily see it replace C in many places, given enough time (I wouldn't be too surprised if we eventually see companies distributing a BSP that's written in Rust).

Frankly, at this point in time, I think it's foolish to start a new project in C unless you have a really good reason to do so. Many embedded systems certainly qualify as a really good reason, but I very much hope that reason diminishes over time.



> I had a lot of opinions like this too when I was 17, but age and experience has disabused me of many of them.

Sure, I didn't say I agree with them, I barely remember when I was 17, it was that long ago.

I'm saying that young people that I meet are more interested in c so the 'in 20 years no-one knows c' is not exactly true.

We try Rust now and then; it's not worth it yet in my opinion for what we do. The tooling and libs we have for c are vast and like said, c people are really easy to get, Rust not so much.

I hope this changes, but for now it's just too much of a struggle to warrant it. And I was only responding to the fear of not having capable c devs in 20 years. There will be plenty.


> wouldn't be too surprised if we eventually see companies distributing a BSP that's written in Rust

Some niches maybe but most packages are ancient and the cost of supporting rust Vs the gain is massive.

There are also way less people who can write rust. This forum with the "c is bad rust is the new God" attitude is not a representation of the world.


> (I wouldn't be too surprised if we eventually see companies distributing a BSP that's written in Rust).

The Expressif folks are paying someone to make sure that Rust works well on the esp32.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: