Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/gogenerate: experiment with a model whereby code generators are compiled in #173

Open
myitcv opened this issue Aug 27, 2019 · 0 comments
Labels
proposal New feature or request

Comments

@myitcv
Copy link
Owner

myitcv commented Aug 27, 2019

One of the largest inefficiencies in code generation when run across multiple packages is that subsequent code generators repeat work done in prior code generators, for example resolving ASTs, type info, SSA form etc.

We should therefore experiment with a model whereby code generators are compiled into a single binary, and this information can be shared in memory.

@myitcv myitcv added the proposal New feature or request label Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant