Follow

Rust sure seems like the future in some ways. What is the support like for embedded development though?

The articles I’ve read seem focused on more OS level and above projects.

theregister.com/AMP/2022/11/11

@mrt181 thank you! I will have to join those rooms. That seems like a great resource. :)

@derickflorian
At #emBO++ a couple of years back there was a talk on #embedded #Rust, you may be able to find a recording on YouTube

@ami Ok, thanks! I’m just starting out with embedded development and I had not heard of that conference. I will check that out!

@derickflorian
It's a really cool conference, run by some really cool people. It is mainly focused on #Embedded #Cpp, and modern development on small devices.
Check out emBO.io for the next conference

@marcelbuesing Thanks for sharing! There is support for a lot more microcontrollers than I imagined. It sounds like the groundwork for using Rust in embedded has been layed.

@derickflorian There's a great list of resources at <github.com/rust-embedded/aweso>, and the title sums it up: #RustLang on #embedded is awesome.
Note that some things there look like OSes, which you appear to want to go lower than: worry not, zero cost abstractions allow quite high-level concepts that are still monomorphized to effectively bare-metal code.

@chrysn That is excellent! Thanks for sharing this list! It does seem like there are a lot of crates out there for specific microcontrollers. I’m new to embedded development so I have a lot of things to learn and it looks like rust will be one of them eventually.

#RustLang evangelism 

@derickflorian Ad "specific microcontrollers": The nice thing about the Rust embedded ecosystem is that there are conventions that help keep your code portable. Trait crates like embedded-hal or embedded-nal describe an interface that is implemented on may MCUs, and while not all of the application code will use only those, you'll only need to port the parts that don't.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.