Rewrite 65k lines of Go in Rust for $400
Extract the code as a data representation, operate on it, put it back as Rust; Fable orchestrates subagents, never writes code.
Prompt for your agent
Goal: Do a large language-to-language rewrite cheaply. Setup: agents used in source: Claude. Steps: 1. Ask the model to represent your code as graphs, ontologies, state machines, process charts, constraints or formulae. 2. Operate on that representation: simplify state machines, remove hidden communication channels. 3. Ask for the code back, in the new language. 4. Forbid the main agent from reading or writing code itself; have it orchestrate subagents (Claude Code’s Glob, Grep, WebSearch) to save context on long runs. Rules: ask me before anything irreversible (sending, posting, paying, deleting); don’t invent data, results or tools I haven’t given you; tell me what you couldn’t verify. Based on: Iurii Krasnoshchok — https://iurii.net/en/blog/posts/software-engineering/i-used-fable-to-rewrite-65kloc-to-rust/
Steps are from the source. Includes a “Based on” credit line.
I tried this
Tell the next builder. One anonymous answer each; click again to undo.
Agents, models and tools only what the source states
- Agents
- Claude
- Models
- Fable 5
Sources & credit
- Iurii Krasnoshchok iurii.net primaryblog · 1 Sep 2026https://iurii.net/en/blog/posts/software-engineering/i-used-fable-to-rewrite-65kloc-to-rust/
- aka-riderHacker News · 1 Sep 2026https://news.ycombinator.com/item?id=49526131