Skip to content
0:00 / 0:00

#rust#embedded-hal#microcontrollers

RustConf 2018 - Getting Something for Nothing by James Munns

Rust Programming Language

70K subscribers • 47 videos on Hallway • Conference channel

YouTube
  • Recommended by 3 people: 3 in engineering communities.
  • Presented by James Munns

Intermediate. Assumes working knowledge.

9.3K views8 years ago3 recommendations

Programming languagesSystems programmingRustEmbedded systems

James Munns explores how to use the Rust type system and borrow checker to write safe, zero-cost abstractions for hardware peripherals.

RustConf 2018 - Getting Something for Nothing by James Munns This talk explores how to use the Rust Type System and Borrow Checker to write safe abstractions of hardware, even when using direct control of memory mapped peripherals with unsafe blocks. Because these techniques move all (or most) of the checking to compile time, these techniques are perfect for systems where high performance or resource constraints are a requirement. This talk will explain and explore how these techniques are used on Microcontroller systems as a critical part of the embedded-hal ecosystem.

Why it's here

3 people recommend this

What people say. Recommended as a great introduction to using Rust and RTFM on microcontrollers.

u/swingking8in r/embedded • Recommends

On “Rust Language for programming MCUs?”

…spective (e.g. memory). So with Rust you can write very performant code, and the optimizer actually had a ton to optimize because you state clearly how memory should be managed. If I were you, I'd look into using RTFM. You'll be amazed how well-considered it is. It also works for *all* cortex-M chips. NO MORE VENDOR SPECIFIC IDES. Edit: this (link to this video YouTube video is a great intro to both rust and rtfm…

u/hamptokrin r/embedded • Recommends

On “Future of embedded languages?”

I strongly recommend checking out Rust if you haven't already. The embedded space in Rust is shaping up to be a game changer imo. Here's a really great talk from Rust Conf this year: link to this video

u/friedrichRiemannin r/embedded • Recommends

On “Rust Language for programming MCUs?”

Thanks! Like different ICs and MCUs have different timings for I2C or SPI...But I guess, it can be done idk Also your "getting sth for nothing" reminds me of this talk by James Munns