Skip to content

Instantly share code, notes, and snippets.

@TeXitoi
Last active March 14, 2020 17:30
Show Gist options
  • Select an option

  • Save TeXitoi/af00421b83311f395901764b4338f98f to your computer and use it in GitHub Desktop.

Select an option

Save TeXitoi/af00421b83311f395901764b4338f98f to your computer and use it in GitHub Desktop.

Oxidize Berlin Conference

High Level Programming in Embedded Rust

A concise, engaging description for the public program. Limited to 1000 characters.

Embedded development is generally linked to low level programming. But, even on the most deeply embedded project, a part of it would benefit from high level patterns. Rust helps a lot in this land: while letting you do the raw low level things, you still have a safe, modern and high level language for the parts that need it, even without any runtime.

To illustrate these possibilities Rust offer, we will explore the development of an alarm clock. Based on the RTFM framework, it implements the Elm architecture (a pure functional architecture for web development). Messages and events are managed thanks to Rust enums, and the stateless design allows easy testing.

After a fast presentation of the Elm architecture, we will take an overview on its implementation using RTFM and the Rust programming language.

Details

Include any pertinent details such as outlines, outcomes or intended audience.

This talk will present a usecase of embedded Rust using the RTFM framework. No prior knowledge in Rust, RTFM nor embedded is needed.

Even if the asked session format is 30 minutes, I can do a 15 minute version if the organisers prefer.

Pitch

Explain why this talk should be considered and what makes you qualified to speak on the topic.

This talk will present, at the same time, 2 different things: high level programming in embedded Rust, and a presentation of the RTFM framework by a use case. Any audience should be interested by these topics: non-Rust developers will be interested in the Rust aspect, non-RTFM Rust developers in the RTFM part, and RTFM users by an example of the usage of this framework.

Bio

Your bio should be short, no longer than 500 characters. It's related to why you're speaking about this topic.

Guillaume Pinot is a Rust developer since 2013. His most known Rust project is structopt, a command line parser based on Clap and custom derive. He introduced Rust in two companies. As hobby, he has made an alarm clock and a keyboard using the RTFM framework. In this context, he has contributed to the embedded Rust ecosystem in general, and to STM32 HALs and RTFM in particular.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment