Hacker News AIT2·68 pts
Chrome 155 Ships Rust-Based JPEG XL Decoder
Original: Shipping JPEG XL in Chrome
- Chrome 155 officially supports JPEG XL (.jxl) decoding, offering 30-50% better compression than JPEG with lossless/HDR capabilities.
- Adopts `jxl-rs`, a pure Rust decoder, to proactively prevent memory safety vulnerabilities like out-of-bounds reads and heap overflows.
- Leverages stable Rust's `target_feature_11` for SIMD instructions, ensuring fast decoding without relying on unsafe code blocks.