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.
- leverage the fact that tooling already exists
- describe the ideal hypothetical solution
- can we do even better?
- intermediate representation (IR)
- the answer _should_ be