News for hackers. Stuff that matters.
Re:Bzip2 crate switches from C to 100% rust by egorfine on Wednesday June 18, 2025 @10:12AM (#44310083)
Why not spend the efforts to speed up the real zlib? So that the whole world actually gets to spin a bit faster.

Rust folks are claiming excellent interoperability with C binaries. Why the need for a rewrite then?

Re:Bzip2 crate switches from C to 100% rust by swiftcoder on Wednesday June 18, 2025 @10:45AM (#44310363)
Maybe because the speed up is easier to attain in a language where you aren't constantly worrying about introducing bugs? Maybe development is easier in a language with more modern tooling?

Interoperability runs both ways, everyone currently taking a dependency on the C library can swap in the rust library in its place and see the same benefits