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.

Get the Android app

Or read this on Phoronix

Read more on:

Photo of Google

Google

Photo of Firefox

Firefox

Photo of Mozilla

Mozilla

Related news:

News photo

Firefox 130 Now Available With WebCodecs API, Third-Party AI Chatbots

News photo

Firefox will consider a Rust implementation of JPEG-XL

News photo

I tested Google's $1,800 Pixel 9 Pro Fold for a week, and it wins in three major ways