News for hackers. Stuff that matters.
Re:Building Statically Linked Go Executables with CGO and Zig by laserbeam on Saturday March 29, 2025 @12:42AM (#43512799)
My biggest problem with “zig build” is learning it. Mainly because it still changes from version to version, and having a clear picture of what steps are and how they interact is somehow hard for me.

Obviously I will overcome this, but unlike zig itself, the build file still feels like guesswork to me.

Re:Building Statically Linked Go Executables with CGO and Zig by danhau on Saturday March 29, 2025 @12:27PM (#43516660)
That‘s my experience as well.

The generated html docs can also be hard to read / understand. Zig 0.14.0 changed something about LazyPath (I think that‘s how it‘s called) and I had a hard time figuring out how to migrate.