Skip to content
Hacker News front page

Rewriting 65k lines of Go to Rust with Fable cost $400

I used Fable to rewrite 65kLoC of Go in Rust. It cost $400

The author rewrote a 65k-line terminal editor from Go to Rust using Fable 5 for $400. The method has three steps: extract code into a data representation (state machines, graphs, formulas), operate on that representation, then regenerate code in the target language. Fable's precise data-flow tracing is the key enabler. The post doesn't report compilation pass rate or test coverage, so I'd discount the 'fully autonomous' claim until those numbers surface.

Why it matters: 65k lines Go-to-Rust for $400 with a clever intermediate-representation approach hits H and K. But the post doesn't disclose compile pass rate or test coverage, so 'fully automated rewrite' needs a discount — lands at 72, right at the featured threshold.

Read the original ↗Export Markdown