Hacker News new | ask | show | jobs
by AbuAssar 38 days ago
> No borrow checker. No lifetimes. No fighting the compiler for 20 minutes over a string.

I don’t like this attitude, both zig and rust have their strengths.

4 comments

Rust has bad ergonomics. You will see that "attitude" as long as coding exists, or lifetimes are fixed in a way to allow you to omit them in contexts which are not concurrent or are embarrassingly parallelizable.
I would take Zig over Rust any time. It simply fits the way I think much much better.

And since 0.16/0.17 Zig introduced a very nice async/concurrency system that doesn't require function coloring. While async in Rust still feels strange and not well integrated.

it's not attitude that sentence (not x, not y ...) is pure uncut llm slop
> "I don't like this attitude"

Cool, let me know when you have a rational counterargument then, some of us have gotten fed up with Rust (especially at scale) and are very much enjoying Zig (which has no magic, which turns out to be a huge advantage at scale)

"No borrow checker" id not a reason to switch to Zig, unless you have a reason that borrow checker is limiting you from developing, hence the "I don't like this attitude". Just give the reason, not the "solution"

Not to mention we're nitpicking over something that an LLM wrote.

There doesn't really need to be a counterargument. If you like Zig, that's great. Zig is great, you are great. You go on using it.
You should really make sure to take your own advice when you're being this discourteous.
Fair enough
Ok have fun. The rest of us are having no problems.
That must explain the projects moving away from Rust then