marmot: A Go compiler built on MLIR and LLVM
Marmot is an experimental Go compiler built on MLIR and LLVM that replaces the code generation parts of the Go toolchain while keeping its type checker, SSA builder, and standard library. The compiler aims to produce smaller, faster native binaries and features detailed error reporting with suggested fixes. Benchmarks on an Apple M3 Pro indicate significant improvements in binary size and execution speed compared to the standard Go compiler. Open article →