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

Go is best at interfacing with kubernetes, which I think will carry it pretty far, for better or worse.


The Kubernetes API is one of my least favourite Go packages - largely generated, boilerplate all over the show and hasn’t even adapted to use things like log/slog without some wrapper.

A much nicer library for dealing with Kubernetes is the kube crate [1] for Rust. The worst aspect of it is the dependency discipline, though that is no worse than the official Go client.

[1]: https://github.com/kube-rs/kube


Go’s k8s package is the OG. Everything else spawned off of it, so it’s packed with legacy artifacts. But yeah, I wouldn’t use it as an example of a good Go package.


Sure, it's the canonical example of a Kubernetes client, but it's still not very good - even for modern Go.


Yeah, Go’s niche is networking. But it could be so much more. The language is nice and fast, and there’s no reason it can’t be a solid choice outside the microservice and tooling universe.




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

Search: