Write your own Go compiler
More adventures with go.tools/ssa
I'll be explaining the potential I see for Go as a very portable language and reviewing the Go tools that make that such an exciting possibility.
Based on my experiences writing an experimental Go->Haxe translator, I'll talk about the practical issues of code generation and runtime emulation required. I'll compare some of my design decisions with those of two other Go compiler/translators that build on the go.tools library. My aim is to encourage you to try one of these new 'mutant' Go compilers. I hope some of you will be inspired to contribute to one of them or even to write a new one of your own.
- Slides from previous talk: Adventures with go.tools/ssa
- Blog: Go Advent Day 8 - Doctor Who and the mutant Go compilers
- llgo: a LLVM-based compiler for Go
- TARDIS Go: a Go to Haxe transpiler targeting JS, Flash, Java, C++, C#, PHP and Neko
- Tulgo: a closed-source Go compiler blog
- Slides for this talk