logoalt Hacker News

AbuAssartoday at 4:34 AM3 repliesview on HN

> 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.


Replies

DeathArrowtoday at 5:36 AM

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.

nurettintoday at 5:22 AM

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.

pmarrecktoday at 5:45 AM

> "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)

show 3 replies