News for hackers. Stuff that matters.
Re:Low-Level Optimization with Zig by wg0 on Saturday June 07, 2025 @03:53PM (#44212158)
Zig seems to be simpler Rust and better Go.

Off topic - One tool built on top of Zig that I really really admire is bun.

I cannot tell how much simpler my life is after using bun.

Similar things can be said for uv which is built in Rust.

Re:Low-Level Optimization with Zig by FlyingSnake on Saturday June 07, 2025 @04:43PM (#44212518)
Zig is nothing like Go. Go uses GC and a runtime while Zig has none. While Zig’s functions aren’t coloured, it lacked the CSP style primitives like goroutines and channels.
Re:Low-Level Optimization with Zig by 9d on Saturday June 07, 2025 @07:44PM (#44213447)
Zig is like a highly opinionated modern C

Rust is like a highly opinionated modern C++

Go is like a highly opinionated pre-modern C with GC

Re:Low-Level Optimization with Zig by cgh on Saturday June 07, 2025 @09:32PM (#44213937)
In a previous comment, you remarked you don’t even know Zig.
Re:Low-Level Optimization with Zig by LexiMax on Saturday June 07, 2025 @11:14PM (#44214309)
I do. I find his osmosis-based summation accurate.
Re:Low-Level Optimization with Zig by 9d on Sunday June 08, 2025 @08:55AM (#44216710)
Yay!
Re:Low-Level Optimization with Zig by 9d on Saturday June 07, 2025 @09:51PM (#44213986)
I don't.
Re:Low-Level Optimization with Zig by pjmlp on Sunday June 08, 2025 @04:07PM (#44219202)
More like Modula-2 with C like syntax.
Re:Low-Level Optimization with Zig by gf000 on Monday June 09, 2025 @03:14AM (#44222112)
Go should be as much in this discussion as JavaScript.