Hacker News new | ask | show | jobs
by chrisco255 32 days 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.
2 comments

Notably 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.
-9MB on Win/Linux and unchanged on Mac. It wasn't a 100% pure idiomatic migration there was some cleanup done.
This Rust rewrite instance is explicitly about memory safety by admission of the devs; I was just commenting on the trend.