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

aka-rider 57 points 41 comments September 01, 2026
iurii.net · View on Hacker News

Discussion Highlights (7 comments)

aka-rider

Following the recent "Rewriting bun in Rust" I thought to run an experiment which turned out to be success.

ramon156

what did i read? genuinely? its only a few words, and even that had to be AI written. The topic in the title barely was mentioned.

vessenes

The title is the worst part of the essay. Which is super interesting, to wit: 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 makes sense, and I like it - it's using model intelligence at a few different steps for sensible things. Thanks for the writeup. De clickbait your title though or you'll keep getting clickbait rage responses :)

motbus3

Makes sense it would have been 6 USD in GLM 5.3?

drzaiusx11

I recently performed this exact exercise of converting a complex library set from one language into an intermediate state machine representation and then translated into N other languages. It worked well but there's a lot of caveats. 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.

cyanydeez

And ROI of 0?

exabrial

The best language a program to be written in is the original. Languages have conventions and best practices that aren’t portable. We could port COBOL to c and do a crap ton of goto/jmps and make a BEGIN MESS

Semantic search powered by Rivestack pgvector
5,215 stories · 47,053 chunks indexed