logoalt Hacker News

concindsyesterday at 6:49 PM3 repliesview on HN

With both Firefox and Chromium using jxl-rs (Rust-based), I wonder what Apple will do about the libjxl (C++) they already shipped. I know they're doing some memory-safety with Swift, but are they shipping any Rust in their platforms so far? I also wonder if anyone's done benchmark comparisons between both libs.

--

Also, I was under the impression that after backtracking, Chromium was relying on Mozilla to come up with a Rust port, but it seems it was the reverse. Good on Google Research.

https://hacks.mozilla.org/2026/08/intent-to-ship-jpeg-xl/

> So, we laid down a challenge to the JPEG XL team at Google Research: Build a safe, performant, compact, and compatible JPEG XL decoder in Rust, and we’ll ship it. That challenge was met; Google Research built jxl-rs, and it’s the core of our JPEG XL support in Firefox.


Replies

Snafuhyesterday at 8:57 PM

Luca Versari, one of the devs between both libraries, has a performance dashboard to compare performance between the two https://jxl-rs-perf.lucaversari.it/

jxl-rs started to outperform the C++ library 2 months ago.

show 2 replies
saagarjhayesterday at 10:55 PM

Shipping unsafe C++ is easier on Apple platforms than Rust. This seems unlikely to change anytime soon.

show 2 replies
deadbunnyyesterday at 8:35 PM

Apple is gonna do what apple wants.

show 2 replies