Hacker News new | ask | show | jobs
by est31 1008 days ago
A rewrite of a webp decoder into Rust already exists (image-rs has a decoder for webp). I'm sure there is some polishing needed but it's nothing a company the size of Google can't afford.
1 comments

Unfortunately, the readme for image-rs indicates that webp support is provided via the libwebp C library!
That's for the encoding part. The 0day we are talking about was in the webp decoder, and decoders generally are the riskier component compared to encoders. I'm not sure if Chrome ships with the webp encoder at all.
Only for encoding.