Comment

Comment by cube2222

Mandatory plug of this article[0] describing how to use the Zig language toolchain to get easy cross-compilation with CGO.

It's really cool because cross-compilation is, imo, the most painful part of CGO - right after being incompatible with the whole runtime model, being blocking, and being hard to profile with Go profiling tools.

[0]: https://dev.to/kristoff/zig-makes-go-cross-compilation-just-...

Disclaimer: Not affiliated with the author in any way.

parent cube2222 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton