logoalt Hacker News

khueyyesterday at 11:43 PM1 replyview on HN

> Back then I found the Rust community had interest and respect for Zig, so the discourse was very much one sided.

In hindsight (and at risk of starting a flame war), it's easier to be magnanimous when you are winning/have won.


Replies

danudeyyesterday at 11:54 PM

Is it a competition? I wonder if the Zig people feel as though it is, because I doubt the Rust people do.

Rust's big tentpole is "no memory management bugs, everything must be provably safe", whereas Zig is very proud of "no memory management, you have full control but you have to exercise it". I don't feel as though these are competing for the same audience or mindshare.

I've used Zig a big (while trying to contribute to ghostty, at least), and it's an interesting language that I like the aesthetics of but I don't want to use. I use Rust for things because it's so specific about what it wants from you and won't let you go off-script, and frankly I find that very beneficial for myself as someone coming from Python, Javascript, PHP, etc. where you just let things fall out of scope and it's not your problem anymore (usually).

show 1 reply