Marmot
AI overview
Sign in and the AI will write an overview from our coverage.
Headlines · 1
- Marmot: an experimental alternative Go compiler built on MLIR and LLVM
Marmot is a new Go compiler built on MLIR and LLVM that keeps existing Go code and go.mod unchanged while producing native binaries and errors that point at the source span and suggest fixes. The project says it compiles real Go programs, including itself, and checks its test programs against Go, but that it is not ready for production. Its own measurements on an Apple M3 Pro report smaller release binaries than go build, a 1.54x faster geometric-mean runtime over 45 programs, and shorter builds, while a small Go dialect in MLIR keeps Go semantics long enough to remove bounds checks and keep objects on the stack. The toolchain also adds go-like subcommands (build, run, test, check, fix, fmt, watch, repl, bench, prof, size, generate, explain, doctor) and an MCP server so coding agents can build, run, test and fix code.
Hacker News 首页(100+ 分) · 🔥 0
Experience and discussion from the community
Share my Marmot experienceAsk about Marmot
Nobody has shared their experience with Marmot yet.