conv.

All stories
AIQuiet 24d · day 27

Developer uses Fable AI to rewrite 65k lines of Go to Rust for $400

A programmer shares a technique for using LLM-powered code transformation to port a large codebase between languages at a fraction of traditional costs.

What to know

  • A developer rewrote 65,000 lines of Go to Rust using Fable AI for $400—claimed to be dramatically cheaper than manual porting (Bun's comparable project cost $165,000).
  • The method treats code as an intermediate data representation (graphs, state machines, flowcharts), manipulates the structure, then converts back to the target language.
  • Commenters note the technique is sound but warn that intermediate translation can miss 'load bearing' bugs and that idiomatic conventions don't always port cleanly across languages.

The dispute Whether the AI translation method is reliable enough for production code, or whether it introduces risk by losing domain-specific bugs and language idioms. · positions read across 67 posts and comments

many voices

The technique is sound and offers real value as a tool for certain rewriting tasks.

  • “fable's a very capable model when it comes to transforming concepts in and out of structural descriptions, and you can use it (along with a test suite I presume) to transpile a codebase. I wouldn't have thought to do this, but I think it…”

    vessenes · Hacker News
many voices

Intermediate translation risks losing bugs and idiomatic code patterns; direct porting is safer in most cases.

  • “I'd highly recommend a direct "port" in most cases tbh, as many bugs are "load bearing" and may not survive the intermediate translation. I speak from experience.”

    drzaiusx11 · Hacker News
some voices

The article's title is misleading clickbait that oversells what was actually accomplished.

  • “The title is the worst part of the essay…De clickbait your title though or you'll keep getting clickbait rage responses”

    vessenes · Hacker News

aka-rider Developer and authorFable AI model

The record 2 articles and posts · last 27 days

  1. I used Fable to rewrite 65kLoC of Go in Rust. It cost $400 press · HN Frontpage · aka-rider · 26d ago
  2. I used Fable to rewrite 65kLoC of Go in Rust. It cost $400 L: https:// iurii.net/en/blog/posts/softwa… post · Mastodon · hkrn@mstdn.social · 26d ago

What people are saying 24 voices from 1 site · best of 67 · verbatim

Still unanswered
  • How thoroughly was the resulting Rust code tested, and were there hidden bugs that wouldn't have existed in the original?
  • Does this method work for codebases with complex runtime behavior, or only for structural/algorithmic code?