Re:Microsoft is Hiring Go engineers to work on Kubernetes
by nikon on Wednesday July 19, 2017 @09:04AM
(#14803963)
Could you link to that area? Would be interesting to see.
[ Parent
| on HN ]
Re:Microsoft is Hiring Go engineers to work on Kubernetes
by Vendan on Wednesday July 19, 2017 @09:26AM
(#14804089)
Here's one example file: https://github.com/kubernetes/kubernetes/blob/master/cmd/lib...
It all seems to be using https://github.com/kubernetes/gengo
Re:Microsoft is Hiring Go engineers to work on Kubernetes
by smarterclayton on Wednesday July 19, 2017 @04:32PM
(#14807646)
As one of the perpetrators of gengo, we focused on simple, fast, and dirty. We wanted something a little higher level than Go AST to deal with types (for gen), and we knew we wanted to gen a ton of code.
Some of the Kube code generation would not be solved by generics (or at least, not obviously) such as our API conversion logic which defines arbitrary transforms between structs and generates the rest. The others (proto, defaulting, etc) would.