Get the latest tech news
Mozilla Is Interested In A Rust JPEG-XL Decoder For Firefox & Google Might Develop It
Mozilla is interested in a Rust-written JPEG-XL image decoder for its memory safety characteristics compared to the existing C++ code they rely on for JPEG-XL image support in Firefox
Our primary concern has long been the increased attack surface of the reference decoder (currently behind a pref in Firefox Nightly), which weighs in at more than 100,000 lines of multithreaded C++. A safe, fast, and battle-tested Rust decoder from the original team could make that scenario much less likely, and so we’re using our leverage to encourage progress on this front." But if Google invests in writing a Rust-based JPEG-XL decoder, it will be interesting to see if they go ahead in reconsidering their image support within Chrome.
Or read this on Phoronix