2 Matching Annotations
- Nov 2020
The answer should be: you write a language that compiles to Go’s IR.
One important other option is using another programming language as your IR! If you can compile (or perhaps more accurately transpile) your language into C, then you can leverage gcc (or clang, etc) into compiling that all the way down into machine code.
- intermediate representation (IR)
- can we do even better?
- the answer _should_ be
- describe the ideal hypothetical solution
- leverage the fact that tooling already exists