8 ms·
What's wrong with the Golang-based operators? Why do you prefer Rust to be used in the operator?
by pqb 3y ago
What's wrong with the Golang-based operators? Why do you prefer Rust to be used in the operator?
- rektide 3y agoDiversity is good.
- jwandborg 3y agoI think it's a breath of opportunity to hear that there is tooling for Rust to write Kubernetes operators, previously my impression is that there is no match for Golang when it comes to writing operators, and that has invited me to try and learn Golang and the codegen that comes with writing operators, but I never enjoyed trying to learn things about Golang, the language feels like an exercise in ambiguous minimalism to me personally.
- rad_gruchalski 3y ago> previously my impression is that there is no match for Golang when it comes to writing operators Strimzi exists for some time and they use Java.
- Patrickmi 3y ago[dead]
- jen20 3y agoHave you tried using kube-rs? It removes many of the sharp edges of client-go, and is a pleasure to with with. It also has much tighter dependency discipline than the Go library. There are other reasons to prefer Rust (sum types just to name one) but the quality of the Kubernetes client alone is enough to prefer it over Go in this case.
- Patrickmi 3y agoSo what’s the usefulness of the above mentioned when library quality is like heaven and earth?
- nunez 3y agoNothing! It's just good to see some language diversity here.