Originally posted by pong
View Post
jpegxl already has a pretty competent rust decoder, i even used it in a couple personal projects https://github.com/tirr-c/jxl-oxide it does have some rather large limtations like no threading (but it does have SIMD) and the decoder will happly go until it hits an OOM but other then that its actually pretty fast for what it is, and really flexible, AV1 has a port of dav1d to rust (https://github.com/memorysafety/rav1d) (and yes it's a port of dav1d, the code was transpiled, not a re-write, and not a from ground up) that's doing pretty well here, vorbis and many other audio and image codecs have open source rust decoders as well.
Im pretty sure in the future we will see browsers and other security conscious applications requiring decoders in rust, zig, go etc. for consideration for inclusion, for sure not now, and maybe not in recent times but eventually I can see it easily
Comment