3 ms·
I'm currently working on a project that depends on the k8s APIs and I haven't noticed ballooning compile times. I'm only pulling in k8s.io/api, k8s.io/apimachi
by dhagz 6y ago
I'm currently working on a project that depends on the k8s APIs and I haven't noticed ballooning compile times.
I'm only pulling in k8s.io/api, k8s.io/apimachinery, and k8s.io/go-client though.
- jrockway 6y agoI have the same experience. I maintain lots of software that directly depends on k8s.io/go-client and it feels the same as any other Go project.
- jacques_chester 6y agoMy code before a transitive dependency pulled in the k/k universe took milliseconds to compile. Afterwards it took about 10 seconds to compile. Laboriously compiling thousands and thousands and thousands of lines of nearly-identical code turns out to be much slower. There are no clever shortcuts for a compiler that cannot deduce a higher intent.