Artificial IntelligenceTechnical Deep Dive

Closing the Legacy Gap: New AI Models Master COBOL, Fortran, and Beyond

Published
EElectricBuzz Editorial Team
Closing the Legacy Gap: New AI Models Master COBOL, Fortran, and Beyond
3 min read520 wordsElectricBuzz Editorial Team

The Gist

“OpenAI’s latest research showcases significant breakthroughs in code generation and migration for aging, low-resource programming languages that power the world’s essential infrastructure.”

Bridging the Legacy Tech Divide

For decades, the global economy has relied on a backbone of older, low-resource programming languages. COBOL, for instance, still underpins a staggering 40% of online banking systems and processes the vast majority of in-person credit card transactions. Similarly, Fortran remains a cornerstone of meteorology and nuclear safety analysis. However, as the original developers retire and documentation fades, maintaining these systems has become a critical challenge. Addressing this, the latest AI research from OpenAI introduces new models capable of handling these niche languages with unprecedented accuracy and cost-efficiency.

The initiative is built on two primary pillars: the ability to construct functional software from scratch and the capacity to migrate ancient, mission-critical codebases into modern environments like Python or Rust without sacrificing functional parity. By focusing on these low-resource languages, the researchers aim to provide developers with the tools necessary to modernize infrastructure that was previously considered too risky or expensive to touch.

1. MultiLangBench: Building SQLite From Scratch

To rigorously test coding capabilities, the team developed MultiLangBench, a new benchmark that tasks an AI model with building a fully functional, SQLite-compatible database engine. The challenge requires the model to manage state, handle complex errors, organize a codebase, and implement new features while adhering to the strict requirements of 20 different languages, including Visual Basic, OCaml, and Zig.

The results are transformative. The new GPT-6 Astra model achieved an average test pass rate of 87.4% across the entire spectrum of languages, a massive leap over the 26.8% achieved by the previous GPT-5.6 Sol model. Perhaps most impressively, performance in notoriously difficult languages saw exponential growth: COBOL pass rates jumped from 10.9% to 72.1%, and Fortran performance surged from 21.4% to 83.5%. This benchmark is now available on GitHub, allowing engineers to audit how these models handle specific language quirks.

2. COBOL Migration: Preserving Business Logic

Modernization is not just about writing new code; it is about ensuring that existing business rules are preserved during a transition. The second major evaluation focuses on migrating COBOL programs to modern alternatives like C++ or Java. Because COBOL often handles precise financial rounding and specific transactional logic, even a slight error in translation can cause significant real-world issues. To combat this, the evaluation demands byte-for-byte output parity.

The model GPT-6.1 Sol has demonstrated remarkable efficacy here, reaching 86.6% accuracy at low reasoning levels, compared to the 5.4% accuracy of its predecessor. When pushed to higher reasoning efforts, the model hit 97.9% accuracy, essentially saturating the test suite. This represents a major turning point for enterprise software teams, as it offers a path toward reliable, automated migration that reduces the risk of logic drift in financial and industrial software.

Why It Matters

  • Infrastructure Stability: By automating the maintenance of legacy systems, essential financial and safety-critical services can be updated with less risk of downtime.
  • Cost Reduction: The new models deliver these high-accuracy results at significantly lower API costs—up to 78% cheaper than previous generations in some testing scenarios.
  • Enterprise Scalability: The ability to migrate COBOL or Fortran codebases allows companies to move away from shrinking talent pools and toward modern, maintainable stacks.
SPONSORED
The 5 Best Over-Ear ANC Headphones of 2026, Tested & Ranked
Editor's Pick Guide
92/100
Tech & Gadgets•12 min read

The 5 Best Over-Ear ANC Headphones of 2026, Tested & Ranked

We locked five over-ear ANC picks for 2026 — Sony WH-1000XM6, Bose QuietComfort Ultra 2, Soundcore Space One, Sennheiser Momentum 5, and Apple AirPods Max 2 — then stress-tested them on lab metrics, long-term owner truth, and live street prices.

Related Stories

Semantically matched articles, ranked by topic overlap and freshness.

Unlocking Creative Potential with Japanese Stable Diffusion
Artificial Intelligence

Unlocking Creative Potential with Japanese Stable Diffusion

A powerful evolution in generative AI arrives as optimized models bring nuanced Japanese language understanding to high-fidelity image synthesis.

Hugging Face Unveils TorchNeuron: A Native Path for AWS Trainium Performance
Artificial Intelligence

Hugging Face Unveils TorchNeuron: A Native Path for AWS Trainium Performance

Hugging Face has introduced TorchNeuron, a groundbreaking integration that allows developers to run AI models on AWS Trainium chips using standard PyTorch workflows.

Wabi Launches Multi-Threaded AI Agents to Solve the 'Everything App' Dilemma
Artificial Intelligence

Wabi Launches Multi-Threaded AI Agents to Solve the 'Everything App' Dilemma

Eugenia Kuyda, founder of Replika, has unveiled Wabi, an ambitious new platform that moves beyond the single-thread chatbot model into a collaborative, agentic workspace.

Tolan Secures $30M Funding to Scale Its AI Life-Management Companion
Artificial Intelligence

Tolan Secures $30M Funding to Scale Its AI Life-Management Companion

The AI startup Tolan has raised $30 million to expand its personal companion app, which has already found a significant user base among those seeking organized, empathetic digital support.

Tenstorrent Secures $6.2B Valuation to Challenge Nvidia’s AI Dominance
Artificial Intelligence

Tenstorrent Secures $6.2B Valuation to Challenge Nvidia’s AI Dominance

Hardware innovator Tenstorrent has raised $1.5 billion in new funding, signaling a major push to optimize silicon for the rapidly growing open-weight AI model ecosystem.

Connectivity Crisis: Why London’s Mobile Network Ranks Last in Europe
Artificial Intelligence

Connectivity Crisis: Why London’s Mobile Network Ranks Last in Europe

Once a pioneer of 5G, London now trails behind its European counterparts in mobile performance due to planning hurdles, congestion, and structural capacity issues.

The Benchmarking Crisis: Why AI Evaluation Needs a Reality Check
Artificial Intelligence

The Benchmarking Crisis: Why AI Evaluation Needs a Reality Check

As AI labs push for third-party evaluators to prove their model safety, industry experts warn that the current state of AI testing lacks the standardization required for true accountability.

Mayor Mamdani Challenges Federal Stance on AI, Urges Local Accountability
Artificial Intelligence

Mayor Mamdani Challenges Federal Stance on AI, Urges Local Accountability

New York Mayor Zohran Mamdani is pushing back against the 'inevitable' rollout of artificial intelligence, calling for local oversight as federal regulation remains stalled.