Hacker News new | ask | show | jobs
by smegel 4530 days ago
Doesn't Go already do runtime code generation to implement closures?
2 comments

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.