Hacker News new | ask | show | jobs
by acomagu 466 days ago
Personally, I want to know why Go was chosen instead of Zig. I think Zig is really more WASM-friendly than Go, and it's much more similar to JavaScript than Rust is.

Memory management? Or a stricter type system?

4 comments

Zig isn't memory safe, has regular breaking changes, and doesn't have a garbage collector.
First reason in my mind is there isn't an abundance of Zig programmers internally in Microsoft, in the job market, and in open source. It's probably a fine choice if you're using it for your passion project e.g. Hashimoto.
For being production-ready?
Zig still isn't production ready and isn't memory safe as Go, most likely.