Collabora Developer Explores Rust Support for the Linux Kernel's V4L2/Media Subsystem (phoronix.com) 5
On Thursday patches were submitted for bringing Rust infrastructure to the Video 4 Linux 2 (V4L2) framework (within Linux's media subsystem) by Collabora's Daniel Almeida.
Phoronix reports: This provides just enough for working with a prototype VirtIO camera driver written in Rust along with a Rust sample driver. These initial patches are just intended to start the discussion around V4L2 Rust driver support and the actual upstreaming of the Rust support for these camera drivers may still be some ways down the line.
Phoronix reports: This provides just enough for working with a prototype VirtIO camera driver written in Rust along with a Rust sample driver. These initial patches are just intended to start the discussion around V4L2 Rust driver support and the actual upstreaming of the Rust support for these camera drivers may still be some ways down the line.
The discussion about Rust in linux started a while (Score:3)
Current consensus is "meh"
Re: (Score:1)
"The real action" in this context must be endless kernel panics every time you try to load Redox on any given piece of hardware.
Re: (Score:2)
Rust is not the first memory-safe language, and it may very well follow the trajectory of other memory-safe languages: be useful for some purposes, and no better than C89 for others. For the trivially easy to miss buffer overflows, I can see the potential for reducing exploitable errors (I think most exploits have buffer overflows at their root).
However, there are perfectly valid, but potentially memory-unsafe, activities for which a memory-safe language cannot be used (or can't be used efficiently). In tho