logoalt Hacker News

storystarlingyesterday at 10:40 AM2 repliesview on HN

The hardest part of a rewrite like this is usually maintaining bug-for-bug compatibility with the legacy parser rather than the actual Rust implementation. Most real-world media files are malformed in some way that the C++ code implicitly handled, so if you write a strict parser you end up breaking valid user data. Differential fuzzing seems like the only practical way to map that behavior without manually reviewing millions of edge cases.


Replies

dwatttttyesterday at 10:58 AM

It sounds like it's a design goal of this "wamedia" to _not_ maintain bug compatibility with media players.

rubymamisyesterday at 5:15 PM

AI reply?

show 1 reply