← All questionsRisingTech debt and legacy
Can AI help us rewrite or port our legacy system?
You are not the only one. Asked 6 times since June 2026, 5 of them in the last 4 weeks.
Times asked per week
9 Sept – 1 Dec
Week of 9 SeptTimes asked0Week of 16 SeptTimes asked0Week of 23 SeptTimes asked0Week of 30 SeptTimes asked0Week of 7 OctTimes asked0Week of 14 OctTimes asked0Week of 21 OctTimes asked01Week of 28 OctTimes asked1Week of 4 NovTimes asked0Week of 11 NovTimes asked0Week of 18 NovTimes asked05Week of 25 NovTimes asked5
Week of 9 SeptWeek of 25 Nov
Coloured columns are the last 4 weeks.
What people answer
- Some sayRisk, not effort, is what blocks rewriting legacy mission-critical systems, because a bug in something like a banking system costs far more than the rewrite would save.
- Some sayStable legacy code that works predictably is often best left alone, since a rewrite adds new problems without a clear upside.
- One saysAI can cut the labour of writing the bulk of ported code, but verifying that the port behaves exactly the same stays hard.
- One saysOld systems usually lack robust test suites, so an LLM has nothing reliable to check its port against.
- One saysPlatform quirks such as COBOL's packed-decimal and fixed-width numeric formats make faithful translation harder than it looks.
COBOLJavaRustAntithesis
A language model summarised 10 public replies and posts. They mostly agree. These are other people's views, not advice from Navigara.
What people asked
Each line is our one-sentence summary. The link opens the original discussion.
- Why are legacy COBOL applications on mainframes not being aggressively ported to modern Java applications?Open thread →
- Why are legacy COBOL mainframe applications not being aggressively ported to modern Java, even though AI could help solve that problem?Open thread →
- Would upgrading an existing PHP codebase with an LLM be easier than compiling an end-of-life PHP version from source?Open thread →
Show 3 more
- Does Daisy, which rewrites old Windows and 32-bit Mac apps into 64-bit Mac apps, work by wrapping the app with Wine?Open thread →
- How did Anthropic rewrite the API serving Claude tokens from Python to Rust, and how did it verify the rewrite against production traffic?Open thread →
- Would an AI-assisted clean-room rewrite of ZFS, upstreamed into the Linux kernel, be a practical approach?Open thread →
Where it is asked
- Hacker News5
- newsletter.pragmaticengineer.com1
- A private community1
Private messages are counted, never shown. That is why you can read 6 of them.