Rust-Written Stateless Codec Drivers Make A Lot Of Sense
CRANK

Show Your Support: This site is primarily supported by advertisements. Ads are what have allowed this site to be maintained on a daily basis for the past 19+ years. We do our best to ensure only clean, relevant ads are shown, when any nasty ads are detected, we work to remove them ASAP. If you would like to view the site without ads while still supporting our work, please consider our ad-free Phoronix Premium.When it comes to making use of the Rust programming language within the Linux kernel, one of the areas where it makes a lot of sense is for the video codec drivers given the amount of unknown/untrusted data submitted by user-space for video processing and it being a wide attack surface for bad actors. With the memory safety features of Rust this can be a big benefit to such drivers and Collabora is currently experimenting with a virtual codec driver Rust implementation to prove the concept.Daniel Almeida with Collabora plead the case for Rust stateless codec drivers in V4L2 at th…

phoronix.com
Related Topics: Rust