The Rusty Bits
banner
therustybits.com
The Rusty Bits
@therustybits.com
Making videos about using Rust in embedded systems

https://youtube.com/@therustybits
Pinned
It’s been awhile since the last video, so here’s a deep-dive into the ESP32 bootloaders, where we port Espressif’s second-stage bootloader to Rust:

youtu.be/l75TfMOPG1g
From Zero to ESP32 Bootloader in Embedded Rust
YouTube video by The Rusty Bits
youtu.be
Reposted by The Rusty Bits
‼️device-driver v2.0 has been released ‼️

It has been a lot of work, but after almost 1.5 years a new major version of the toolkit is out now!

Get it on crates-io: crates.io/crates/devic...
Visit the website: device-driver.com
Join the matrix chat: matrix.to#/#device-dri...
device-driver
A toolkit to write better device drivers, faster
device-driver.com
August 21, 2026 at 8:39 PM
Reposted by The Rusty Bits
github.com/embassy-rs/e...

I love a checklist and this checklist is the best guide I am aware of "how to effectively write async embedded rust drivers for microcontrollers" I am aware of today.

Parts written by myself and @balbi.sh for MCX-A, expanded by @dirbaio.bsky.social for all of embassy.
github.com
August 1, 2026 at 7:28 PM
Reposted by The Rusty Bits
Reposted by The Rusty Bits
I'm biased because I helped write part of it (and @balbi.sh has continued adding even more info!), but I think the `embassy-mcxa`'s DEVGUIDE is probably one of the better references now for "how embassy HALs work and how to write a good one", if that's what you're in to.

github.com/embassy-rs/e...
github.com
June 19, 2026 at 10:20 PM
Reposted by The Rusty Bits
Final part of my async blog!

tweedegolf.nl/en/blog/237/...

Last time I shared some tips for improving your async code. Now we look at why the compiler doesn't do it for us.

I want to fix it in the compiler, but I need your help! If you can help with funding, reach out to me.

Please share :)
Async Rust never left the MVP state - Blog - Tweede golf
I've previously explained async bloat and some work-arounds for it, but would much prefer to solve the issue at the root, in the compiler. I've submitted a Project Goal, and am looking for help to ...
tweedegolf.nl
May 4, 2026 at 1:46 PM
Reposted by The Rusty Bits
This paper finds that Rust on an microcontroller costs you about 10% extra flash space, actually saves you a bunch of RAM, and takes no extra time to deliver (as compared to C).

Seems about right - especially as the C version needed a heap and the Rust version did not.

arxiv.org/pdf/2604.25679
arxiv.org
May 3, 2026 at 6:52 PM
It’s been awhile since the last video, so here’s a deep-dive into the ESP32 bootloaders, where we port Espressif’s second-stage bootloader to Rust:

youtu.be/l75TfMOPG1g
From Zero to ESP32 Bootloader in Embedded Rust
YouTube video by The Rusty Bits
youtu.be
May 3, 2026 at 11:29 PM
Reposted by The Rusty Bits
> Arm and Ferrous Systems bring Rust to Cortex-R82AE, enabling memory-safe, high-performance real-time systems for physical AI

Working on this has very rewarding and I can't wait to see what you build on top of these building blocks.

developer.arm.com/community/ar...
Arm Community
ARM Community Site
developer.arm.com
March 5, 2026 at 2:46 PM
Reposted by The Rusty Bits
Are you in a safety-critical industry? Using the Rust programming language (@rust-lang.org) or would like to? Make your voice heard when it comes to what you'd like to see for Rust Project Goals!

(survey link below)
December 9, 2025 at 7:10 PM
Reposted by The Rusty Bits
Oxide is hiring in the embedded space. If you enjoy baffling choices by hardware vendors and debugging performance issues come join me.

oxide.computer/careers/sw-e...
Embedded Systems Engineer / Oxide
oxide.computer
November 20, 2025 at 4:55 PM
Reposted by The Rusty Bits
“We adopted #rustlang for its security and are seeing a 1000x reduction in memory safety vulnerability density ... with Rust changes having a 4x lower rollback rate and spending 25% less time in code review, the safer path is now also the faster one.”

security.googleblog.com/2025/11/rust...
Rust in Android: move fast and fix things
Posted by Jeff Vander Stoep, Android Last year, we wrote about why a memory safety strategy that focuses on vulnerability prevention in ...
security.googleblog.com
November 13, 2025 at 7:52 PM
Reposted by The Rusty Bits
esp-hal 1.0 has officially been released!

developer.espressif.com/blog/2025/10...
esp-hal 1.0.0 release announcement
Announcing esp-hal 1.0, the first Rust SDK for embedded devices.
developer.espressif.com
October 30, 2025 at 11:04 AM
Reposted by The Rusty Bits
A list of 🦀 Rust-friendly jobs at Rivian VW Tech has posted! US West coast and Belgrade are preferred, but exceptional candidates might be remote! The list will be kept up to date.

docs.google.com/document/d/e...

#rustlang #rivian
Rust Engineering Opportunities at RV Tech
docs.google.com
September 29, 2025 at 9:08 PM
This time we’re learning how to setup embedded Rust on an ESP32:
youtu.be/dxgufYRcNDg
ESP32 embedded Rust setup explained
YouTube video by The Rusty Bits
youtu.be
September 22, 2025 at 5:00 PM
Reposted by The Rusty Bits
Reposted by The Rusty Bits
Today we’re kicking things off with the keynote by Ansgar Lindwedel (@eclipse.org), joined by Trustable expert Daniel Silverstone - exploring Rust’s role in safe & scalable automotive innovation. #RustLang
September 17, 2025 at 8:57 AM
Reposted by The Rusty Bits
Occassionally folks reach out to me to ask "how do I hire embedded rust folks for contract/full time work?", and this is generally the answer I give folks:

gist.github.com/jamesmunns/c...

Feel free to share/etc., I'm all about more folks finding good full time gigs in embedded rust :)
hiring-embedded-rust.md
GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
September 17, 2025 at 8:24 AM
Reposted by The Rusty Bits
Last episode of season 2 of @sdr-podcast.com: "Intrusive Linked Lists For Fun And Profit (on embedded)"!

www.youtube.com/watch?v=ct10...

Come and hear about the silly things I'm doing to (ab)use Pin, and the Cool and Unsafe code that allows for safely putting things on the stack in global lists!
Intrusive lists for fun and profit
YouTube video by Self-Directed Research
www.youtube.com
August 13, 2025 at 11:11 AM
Reposted by The Rusty Bits
Reposted by The Rusty Bits
In this episode of @sdr-podcast.com, we're gunna found out exactly how many of our listeners have ever worked in safety critical industries, and whomst among us have opinions about requirements/code/test traceability tools :D

www.youtube.com/watch?v=-f6R...
Traceability
YouTube video by Self-Directed Research
www.youtube.com
July 9, 2025 at 2:08 PM
In the final episode of our air quality monitor project, we try getting Bluetooth LE working using embedded Rust:

youtu.be/L1ScupSwqts
Building a Bluetooth LE device with embedded Rust - moxi Ep3
YouTube video by The Rusty Bits
youtu.be
July 7, 2025 at 4:50 PM
Reposted by The Rusty Bits
Why Does Oxide Use Rust?
June 27, 2025 at 3:04 PM
Reposted by The Rusty Bits
Reminder: if you're looking for help with Rust, Embedded, or helping big computers talk to little computers: hit me up!
Had a gig wrap up a little earlier than expected, I should have availability starting July or so.

As always: if you need help with Embedded, Rust, or similar things, shoot me a message!

If you're a user of postcard, p-rpc, or are interested in the more experimental new ergot: shoot me a message!
June 25, 2025 at 2:54 PM
Reposted by The Rusty Bits
Cool, my @rustnl.bsky.social talk is online now!

Since doing the talk I've been working more on device-driver because of ideas and inspiration I got from talking to people afterwards :D

www.youtube.com/watch?v=xt1v...
Codegen your problems away - device-driver toolkit - Dion Dokter
YouTube video by RustNL
www.youtube.com
June 10, 2025 at 9:26 AM