5 ms·
a couple high profile projects (k8s) needed generics, there are limited use cases outlined in the planning docs that detail the holes in the language they're fi
by bigdubs 5y ago
a couple high profile projects (k8s) needed generics, there are limited use cases outlined in the planning docs that detail the holes in the language they're filling, it wasn't just squeaky wheels.
- silisili 5y agoShame how k8s was a failure without generics. Think what could have been.
- Zababa 5y agoThe thing is, Google is paying most of the development costs for Go and Google controls Go too. It makes sense to adapt the language to their needs. They already do stuff like creating new network protocols because it will reduce their costs.
- loopz 5y agoGoogle have alternatives to k8s already. So it's more about making a market.
- pjmlp 5y agoUNIX was re-written in a clunky unsafe systems programming language, by being free beer due to legal impositions on research work, its adoption settled the future of this language across the industry. Yet even C supports lightweight generics, so they must be worth something.
- dilyevsky 5y agoMaybe you can get rid of some runtime.Object casting here and there (I suspect at the cost of major compilation time penalty) but pretty sure the codegen is here to stay