Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Golang makes it pretty painless to build static binaries. go:embed expected in 1.16 even more so.


If you're building on Linux, does it usually embed glibc in them? If it does, you'll need to comply with the LGPL when you distribute your statically linked binary.


Doesn’t Go just make syscalls on Linux?


I think you can escape that with CGO_ENABLED=0




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: