Re:Shipping JPEG XL in Chrome
by erikvanoosten on Wednesday October 07, 2026 @10:45AM
(#49993592)
Two safety protection mechanisms. For example: Rust + Sandbox.
[ Parent
| on HN ]
Re:Shipping JPEG XL in Chrome
by groundzeros2015 on Wednesday October 07, 2026 @12:33PM
(#49995135)
If it’s sandboxed why do I need rust?
What counts as a “safety mechanism”?
It's the "rule of two" safety guideline mentioned and linked to in the article:
https://chromium.googlesource.com/chromium/src/+/main/docs/s...
If you use a safe language like Rust, you can afford untrusted input and no sandboxing.
If you use an unsafe language such as C++, you must chose between trusted inputs or sandboxing.
I was curious as to where rfgplk's implementation lay within the Venn diagram.
Re:Shipping JPEG XL in Chrome
by groundzeros2015 on Wednesday October 07, 2026 @01:08PM
(#49995679)
What counts as two safety mechanisms?
> you can afford untrusted input and no sandboxing.
I would not trust a rust program un-sandboxed! There are security bugs in rust itself.