Skip to content

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

@myitcv

Description

@myitcv

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions