LVC21F-317 Rust for Linux

Session Abstract

Level: Intermediate  The Rust for Linux project is adding support for the Rust language to the Linux kernel. This talk describes the work done so far and also serves as an introduction for other kernel developers interested in using Rust in the kernel. It covers: - A quick introduction of the Rust language within the context of the kernel. - How Rust support works in the kernel: overall infrastructure, compilation model, the standard library (`core` and `alloc`), etc. - How Documentation for Rust code looks like. - Testing Rust code (unit tests and self tests). - Overview of tooling (e.g. compiler as a library, custom linters, Miri, etc.). - Explanation of coding guidelines (e.g. automatic formatting) and policies we follow (e.g. the `SAFETY` comments). - How kernel driver code looks like in Rust.

Session Speakers

Miguel Ojeda

Rust for Linux maintainer (Miguel Ojeda)

Software Engineer. Kernel maintainer. ISO C (WG14) Spanish NB. Previously Staff, Fellow and Technical Student at CERN in the Beams and Physics Departments.

Level: Intermediate 

The Rust for Linux project is adding support for the Rust language to the Linux kernel. This talk describes the work done so far and also serves as an introduction for other kernel developers interested in using Rust in the kernel. It covers: - A quick introduction of the Rust language within the context of the kernel. - How Rust support works in the kernel: overall infrastructure, compilation model, the standard library (core and alloc), etc. - How Documentation for Rust code looks like. - Testing Rust code (unit tests and self tests). - Overview of tooling (e.g. compiler as a library, custom linters, Miri, etc.). - Explanation of coding guidelines (e.g. automatic formatting) and policies we follow (e.g. the SAFETY comments). - How kernel driver code looks like in Rust.

comments powered by Disqus

Other Posts

Sign up. Receive Updates. Stay informed.

Sign up to our mailing list to receive updates on the latest Linaro Connect news!