top | item 44432103

Cross-Compiling 10k Go CLI Packages Statically, Using Zig

16 points| azathothas | 9 months ago |blog.pkgforge.dev | reply

2 comments

order
[+] nchmy|9 months ago|reply
Looks interesting.

I wonder how it compares to/could be used in conjunction with mise, which has (deservedly) gotten a lot of attention recently. Their backends (https://mise.jdx.dev/dev-tools/backends/) feature is very helpful, but it seems like Soar might be a step even further to simplifying installing tools without even needing to install go, rust etc backends.

[+] azathothas|9 months ago|reply
We cross-compiled thousands of Go CLI tools as static binaries using Zig - the blog is a summary of everything we learnt & built.