Comment on What Go Might Be Like With GenericsparentComments−smegel12yDoesn't Go already do runtime code generation to implement closures?−hueho12yThey changed how closures are implemented in Go 1.1There is a comprehensive doc by Russ Cox that explains in detail: https://docs.google.com/document/d/1bMwCey-gmqZVTpRax-ESeVuZ...−BarkMore12yGo does not generate code at runtime.
Comments
Doesn't Go already do runtime code generation to implement closures?
They changed how closures are implemented in Go 1.1
There is a comprehensive doc by Russ Cox that explains in detail: https://docs.google.com/document/d/1bMwCey-gmqZVTpRax-ESeVuZ...
Go does not generate code at runtime.