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

>> Unless you plan to never run anything but Go on your system

That's actually exactly the use case for a lot of containerized applications written in Go.

edit: I've worked on multiple applications like this and there's the odd service where you need some other dependency, and then that service has to start running on Alpine Linux or something. But if the majority of your many "microservices" are pulling in bits of userland from a distro, they stop being "micro" very quickly which is a big deal when there's a lot of them. It's far preferable in that architecture if the entirety of your userland is your own binary.



>Alpine Linux

From their website:[0] >"Alpine Linux is built around musl libc and busybox"

I could be off-base here, but it seems to me the better analogy would be some sort of "Go-Linux" that's like a Docker linux OS written entirely in Go.

[0]: https://alpinelinux.org/about/


I wasn't making an analogy - I literally use Alpine Linux when I need some common *nix tools but I want something lighter-weight than the Docker images from more mainstream distros. musl libc and glibc aren't 2 fundamentally different things - the former is just a more permissive license and a lighterweight implementation.




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

Search: