Rendered at 06:39:06 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
two_handfuls 14 hours ago [-]
Oh man this finishes too early, I would want to read more!
phplovesong 14 minutes ago [-]
I know syntax does not REALLY matter, but Zig is just kind of subpar syntax wise. Its really verbose and picked weirdly from what already exists. Zig code is usually hard to read because it really noicy, and has weird things not existing in other languages without merit.
zuzululu 1 hours ago [-]
I'm shipping in Rust but any reason to do so in Zig ? What does it offer over Rust ? Something tangible benefit to end user or developer using ai assisted development ?
rahen 1 minutes ago [-]
Use Rust if you're not writing code yourself.
The borrow checker will catch all kinds of bugs that AI-generated code will happily compile in Zig but will blow up as UB at runtime.
Zig's value prop is different and closer to a modern C: it fits in your head, it maps fairly closely to assembly, and gives you fine control over performance. You're the pilot, not the compiler.
Rust trades the low-level clarity for compiler-enforced safety. If you're not a code artisan, then please use Rust.
The borrow checker will catch all kinds of bugs that AI-generated code will happily compile in Zig but will blow up as UB at runtime.
Zig's value prop is different and closer to a modern C: it fits in your head, it maps fairly closely to assembly, and gives you fine control over performance. You're the pilot, not the compiler.
Rust trades the low-level clarity for compiler-enforced safety. If you're not a code artisan, then please use Rust.