The current JPEG XL decoder in #Firefox apparently consists more than 100,000 lines of multi-threaded C++
For just decoding an image format.
Not sure what it says about the format, the implementation and the Internet at large.
The current JPEG XL decoder in #Firefox apparently consists more than 100,000 lines of multi-threaded C++
For just decoding an image format.
Not sure what it says about the format, the implementation and the Internet at large.
@freddy … and that happens to be the one Firefox uses…
@bagder@mastodon.social Well, it seems that your point is “Firefox consists of bad code”, whereas I believe that the conclusion from the post should be “The library is bad code, which is why we are not using it in production. We’d be happy to look at their rust implementation, when it’s possible”
(footnote: “bad code” being an abbreviation of “100k multi-threaded C++”)
@freddy you’re reading too much into my words. I’m just amazed by how large the existing JPEG XL decoder is.
And I don’t think I am alone.
@bagder@mastodon.social Oh, OK. Sorry for misreading then. I’ll back off. 🙂
(And yes, the existing library is… 🤯)
@bagder@mastodon.social @freddy
and “uses” in this case means “has it available behind a feature flag in their nightly builds, and does not ship it to normal users because of this very issue”