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

There are "shared" and "c-shared" build modes[1], if that's what you mean. The latter is fairly obvious. The former is so rarely used that there was a proposal to remove it, but it turned out that some people did actually use it, but almost exclusively because of license terms.

[1]: https://pkg.go.dev/cmd/go#hdr-Build_modes



Yocto/OE used to build Go in this shared mode just to conserve space that would otherwise be wasted by each Go program shipping its own copy of the standard library. It did shave off some MBs, so hard to say it wasn't useful especially if a bunch of +20MB binary blobs are a concern.




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

Search: