6 ms·
As a C programmer who fiddles with low level stuff I wonder why people get exciting about such trivial thing. Don't get me wrong. Rust is an interesting langua
by notabot 11y ago
As a C programmer who fiddles with low level stuff I wonder why people get exciting about such trivial thing.
Don't get me wrong. Rust is an interesting language. The thing described in this post is well within its capability, i.e. IMO there isn't really anything that worths bragging about. Such trivial thing neither demonstrates the real potential of Rust, nor answers important questions from real world engineering perspective.
I'm all for having better tool to write low level stuff. I have dabbled with Rust and the experience was eye-opening. I think Rust still have a lot to catch up though.
- rdc12 11y agoHas hello world ever been exciting, it is only really a building point. You can't do anything intersting until you know the basics, of building and flashing the board. The question is what does Rust have to offer as your embedded program grows.
- notabot 11y ago> Has hello world ever been exciting The HN upvote says otherwise. :-) But I guess had there been an HN-equivalent in assembly age people would get excited about C, too. > The question is what does Rust have to offer as your embedded program grows. Exactly. We are aware of the good, bad and ugly bits of C. The industry has built extensive tooling around it. Rust has a long way to go. I certainly wish to see more pioneering projects from Rust.
- Manishearth 11y agoI don't think the post is bragging about this. It's well known amongst the Rust community that this stuff is pretty easy to do) I read it as a primer for writing simple Rust programs that can run baremetal on the Pi (I've cross compiled for a Pi-with-OS before but never tried this) and access GPIO. If you're talking about the HN upvotes, HN just tends to upvote posts mentioning Rust a lot :) Have you looked at https://zinc.rs/ https://zinc.rs/?
- notabot 11y agozinc.rc is certainly interesting. Thanks for sharing!