We had Claude Opus 5.5 (Claude Code, effort high) build the same SQLite-compatible SQL engine three times in Rust and three times in MoonBit: nine milestones per build, ending at about 13,000 lines, graded against 489 tests generated by SQLite 3.53 (half hidden from the agent).
Result: a young language with a fraction of Rust's training data reached parity on agent cost and quality, and wrote about 12% less code.
| Per build (mean of 3) | Rust | MoonBit | MoonBit ÷ Rust |
|---|---|---|---|
| Estimated agent cost | $43.86 ± 13.25 | $41.09 ± 3.97 | 0.94 (median 1.12) |
| Output tokens | 868k | 762k | 0.88 |