Rust for Linux by Miguel Ojeda and Wedson Almeida Filho - Rust Linz, March 2022

preview_player
Показать описание
Rust for Linux is a project that aims to bring Rust support to the Linux kernel as a first-class language. This means providing support for writing kernel modules in Rust, such as drivers or filesystems, with as little unsafe code as possible.

This session will briefly explain how the Rust support works in the kernel and will give an update on the status of the project, as well as what is planned for the near future. It will also show a wishlist of Rust features that could help the project.

About Miguel
Miguel is a software engineer that maintains the Rust for Linux effort, as well as the auxdisplay, compiler attributes, and clang-format trees. He also participates in the ISO C committee, with an interest in UB and memory-safety topics. Previously, Miguel was a Staff Member at CERN in the Beams department and a Fellow in the Physics department.

About Wedson
Wedson is a software engineer that maintains the Rust for Linux effort; he is currently part of the Android platform security team at Google. For the past 19+ years, he has worked on kernels, bootloaders, hypervisors, etc. at Google, Facebook, and Microsoft.

Thanks to Microsoft for their Support!

Rust Linz:
Рекомендации по теме
Комментарии
Автор

Hola, saludos a toda la comunidad de Rust, soy Colombiano y estoy aprendiendo a programar en el lenguaje Rust y además uso la distribucion de Gnu/Linux Debian, por lo que esta explicación de lo que planean hacer me parece muy interesante a la vez que muy bueno y me gusta, gracias por todo su trabajo. Saludos.

danielitorincon
Автор

As much as I like rust, I'm not convinced mixing it into the Linux kernel makes sense.

The same arguments for it could be made for c++ with smart pointers, and the same arguments against it would exist.

It also seems to me it would lose that zero cost abstraction benefit since practically everything outside of logic would be wrapped in unsafe and still subject to the same risks.

More code and overhead for the same result as what you already get with C.

NautilusMortanian