|
|
|
|
|
by pizlonator
62 days ago
|
|
webp builds with fil-C just fine if you want actual memory safety. This is great but it’s got caveats: - assembly code. They may have been careful but it’s an escape hatch - if it has basically any dependencies then those are likely to transitively pull in more unsafe code |
|
If you can't afford WUFFS then this Rust is the sensible choice. There aren't going to be any real cases where you can afford Fil-C but you can't afford WUFFS.
A WUFFS codec is obviously going to be a lot faster than Fil-C for similar development effort but it's also going to be entirely safe at compile time whereas in Fil-C too bad any mistakes will get caught in production as denials of service.
The Rust is a compromise in that regard, it's not going to catch everything WUFFS would catch during compilation but it will catch a lot more than Fil-C