4 ms·
> 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.
by AbuAssar 5mo 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.
- nurettin 5mo agoRust 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.
- DeathArrow 5mo agoI 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.
- pmarreck 5mo ago> "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)
- adastra22 5mo agoOk have fun. The rest of us are having no problems.
- pmarreck 5mo agoThat must explain the projects moving away from Rust then
- ramon156 5mo ago"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.
- InsideOutSanta 5mo agoThere 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.
- mpalmer 5mo agoYou should really make sure to take your own advice when you're being this discourteous.
- pmarreck 5mo agoFair enough
- trueno 5mo agoit's not attitude that sentence (not x, not y ...) is pure uncut llm slop