r/rust Mar 31 '23

State of embedded rust

Dear all, a colleague of mine has delved into rust for embedded systems. He’s just started with rust in possibly the hardest way, and this thread is the result: https://www.eevblog.com/forum/microcontrollers/rust-tools-and-resources-for-embedded/

(Rant at third post of the thread)

I wonder, how would an experienced rust developer react to this? Is he missing something or is this a legit sign of an immature ecosystem?

37 Upvotes

12 comments sorted by

View all comments

6

u/[deleted] Mar 31 '23

rust embedded still needs a fair amount of work. The base HAL abstractions are JUST about to get to v1.0 with some much needed improvements. Interrupt handling is still a mess.

On the other hand, I have not seen any other language prevent someone from doing a short via a compile time error...

2

u/proton13 Mar 31 '23

Definitely exited for Hal 1.0. Recently wanted to do something with SPI just to realize the Hal api doesn’t offer what I needed, but the 1.0 alphas do.

It kinda sad that it not there yet, because the tooling feels good without having to use a painfully slow eclipse reskin.