Newsroom Wire

US10-26 21:15⏱ 4 min read

Can AI help solve the COBOL code crisis?

Can AI help solve the COBOL code crisis?

The ancient code holding the world together may meet its match in AI. Today is not that day. Posts from this author will be added to your daily email digest and your homepage feed.…

The ancient code holding the world together may meet its match in AI. Today is not that day.

What do the IRS, banks, airlines, and government infrastructure around the world have in common? They’re all running on systems propped up by antique computer code that nobody dares touch, lest everything come crashing down.

OpenAI thinks it may have a solution. On October 19th, the company touted “substantial improvements” in its latest AI models’ ability to migrate aging software written in older programming languages into modern code, which it claims could help organizations with “maintaining and modernizing older systems.”

That’s a potentially massive deal. COBOL, one of the languages highlighted by OpenAI, remains stubbornly embedded in vast portions of the world’s critical infrastructure. And despite decades of efforts to banish it to history, the language has limped on, simply refusing to die.

“Nobody in their right mind would use COBOL for a new development project.”

It is hard to overstate COBOL’s ubiquity.Short for “common business-oriented language,” COBOL came into being in 1959.Nearly seven decades later, it is still everywhere.According to IBM, COBOL is the foundation for more than 40 percent of online banking systems, supports 80 percent of in-person credit card transactions, and handles 95 percent of ATM transactions.

It also underpins many government systems, from Social Security to the IRS to services run by most states.One rough estimate puts the annual cost of COBOL’s inefficiencies to the US GDP at around $105 billion.

But replacing COBOL is fiendishly difficult.The same goes for other legacy programming languages, like Fortran, still in use today for everything from scientific computing and weather forecasting to atmospheric and ocean studies and codes critical to nuclear security.

These systems are often too important to risk breaking, and many of the programmers who understand them have long since retired or died.

For all their impressive advances in modern software development, AI coding tools have struggled to make much headway with these legacy systems. But recent developments suggest that may be changing.

In its latest blog post, OpenAI reported promising results migrating COBOL code to more modern programming languages, including C++, Java, Kotlin, Python, and Rust, without changing what the original software does. That last bit is crucial for organizations looking to ditch code like COBOL, and OpenAI acknowledges that “a migration is considered successful only if all tests pass.”

In OpenAI’s own tests, GPT-6.1 Sol achieved 87 percent behavior preservation accuracy at low reasoning effort — how many computational steps the model spends analyzing a problem before giving an answer — climbing to 98 percent at higher reasoning. By comparison, at low reasoning effort, GPT-6 Astra scored around 86 percent, GPT-6 Sol just 21 percent, and GPT-5.6 Sol a mere 5 percent.

“Rewriting code is not the same as replacing a system.”

“These evaluation results demonstrate progress toward more accurate, affordable code migration for teams modernizing the software their businesses depend on,” OpenAI wrote.

The company also reported improvements on its models’ ability to build database software in various programming languages, including COBOL.

Anthropic also sees an opportunity in legacy systems.In February, it published a step-by-step “code modernization playbook” and pitched its coding agent, Claude Code, as a way to migrate COBOL code into modern languages like Java or Python.

It offered no performance benchmarks showing how well Claude Code could perform such migrations, but declared that “the economics of COBOL modernization have shifted.” Shares in IBM, which derives part of its revenue helping companies maintain legacy systems, nosedived following Anthropic’s announcement.

Experts who spoke to The Verge agreed that AI tools have made strides in tackling legacy code in recent years. But they cautioned that advances trumpeted by OpenAI this week are a very long way from making it possible to safely replace critical legacy systems built around it.

OpenAI spokesperson Oscar Haines acknowledged in an email to The Verge that legacy code “is still far from a solved problem” and said the company is listening to feedback from developers and enterprises and exploring ways to build better tests and continue improving its models’ understanding of coding languages. Anthropic did not provide comment in time for publication.

“The evaluations shown by OpenAI don’t address the key dif

Snapshot for aggregated reading; content from the public web, © the original publishers.

AI NewsCove

Opening article…