4 ms·
Zig is every bit as fast with typically even lower memory footprint as Rust. The main thing Rust promises that Zig cannot already do natively is memory safety.
by chrisco255 5mo ago
Zig is every bit as fast with typically even lower memory footprint as Rust. The main thing Rust promises that Zig cannot already do natively is memory safety. This is not about Python vs Rust. It is one systems language vs another.
- minimaxir 5mo agoThis Rust rewrite instance is explicitly about memory safety by admission of the devs; I was just commenting on the trend.
- surajrmal 5mo agoNotably the rewrite managed to also both reduce binary size and reduce compile time. Given it's largely a straight non idiomatic migration, that's surprising to me.
- chrisco255 5mo ago-9MB on Win/Linux and unchanged on Mac. It wasn't a 100% pure idiomatic migration there was some cleanup done.