13–15 Nov 2023
America/New_York timezone

Converting a DRM driver to Rust

15 Nov 2023, 17:30
25m
"James River Salon B" (Omni Richmond Hotel)

"James River Salon B"

Omni Richmond Hotel

83
Rust MC Rust MC

Speaker

Mrs Maíra Canal (Igalia S.L.)

Description

Programming in C and shifting to Rust can be a hard challenge for an old-school C programmer. Rust for Linux introduced a new programming paradigm to the Linux Kernel and this means that C programmers like me need to shift our mindset. I'll share my view on the matter after rewriting the VGEM DRM driver in Rust during my Igalia Coding Experience in the summer: the view of a C programmer and a beginner in Rust.

In this talk, I will discuss the challenges for a C programmer to write a Rust kernel driver, addressing the use of the DRM bindings, developed by Asahi Lina, the performance of the Rust driver, the benefits of the Rust features for driver development, and the roadmap to convert a C DRM driver to a Rust DRM driver.

Primary author

Mrs Maíra Canal (Igalia S.L.)

Presentation materials

Diamond Sponsors
Platinum Sponsor
Gold Sponsors
Silver Sponsors
Catchbox Sponsor
Livestream Sponsors
T-Shirt Sponsor
Conference Services Provided by