News for hackers. Stuff that matters.
Re:Porting C to Rust for a Fast and Safe AV1 Media Decoder by snvzz on Tuesday September 10, 2024 @01:45AM (#41497509)
An easier and more immediately obvious approach would be to sandbox the codecs, so that they cannot do anything other than what they need to do.

Well-engineered systems like Genode focus on this approach, leveraging capabilities.

Re:Porting C to Rust for a Fast and Safe AV1 Media Decoder by kkysen on Tuesday September 10, 2024 @03:39AM (#41498195)
This is already done in most places, like browsers. But they want to remove the sandbox for performance reasons.
Re:Porting C to Rust for a Fast and Safe AV1 Media Decoder by snvzz on Wednesday September 11, 2024 @12:58AM (#41508140)
This is nonsense. The IPC in and out of the codec process cost is invisible, relative to the cost of encoding/decoding video.