8 comments

  • hexasquid 2 minutes ago
    To IBM

    As specified, please find 99997 correct parts and the 3 defects (do not use)

  • toplinesoftsys 8 minutes ago
    The biggest problem is not that bugs are migrated with COBOL, but that lots of new bugs are going to be introduced. AI is not deterministic, it will be making tons of mistakes. The only realistic low-error approach is incremental step-by-step migration using Cursor or similar tools. However, it requires much more time as each step must be prompted, tested and committed manually. Any hope that one-shot migraton of a large code base will not introduce enormous number of bugs is very naive. LLM is very bad on handling long context - it is their nature unfortunately. There is no answer to this problem yet.
  • pacaro 12 minutes ago
    The largest test case was 4kloc.

    There are hundreds of billions of lines of cobol in production.

    The IRS alone has approx 160 cobol programs, averaging 230kloc each.

  • fock 4 minutes ago
    300 to 4000 lines of "production like" (whatever that is) cobol code which is easily ported to a non-mainframe env. Our's sometimes uses assembler in its innards, so good luck with real legacy code spanning a dozen files and 50k loc...

    I recently threw in (want to check those intelligence metrics!) some real production code into a non-agentic system (just to get a feel how things perform without a custom harness) and results where ... interesting. The particular program uses some preprocessor no LLM we have access to (newest was GPT 5.5) has any clue about - so they confabulate what it could do (Gemini 2.5 didn't even notice there was a preprocessor...). This is expected of course but it somehow seems the problem of this technology that unless you feed it masses of data or mechanically break up the tasks in rote subunits, it just doesn't do anything sensible still...

  • madduci 47 minutes ago
    I remember a similar story shared this year at JAX2026 from the Sparkasse Group, they said they were using AI to migrate from COBOL, but they still were in the middle of the migration. Maybe they faced the same issues / problems? It seemed pretty zealous to me, that everything was working smoothly, but this article highlights the limitations
  • BigJono 41 minutes ago
    Yeah nah maybe fix the bugs before swapping the average COBOL dev for the average Java dev.
    • nicman23 32 minutes ago
      sometimes if the bug exists for enough time it is intended behavior
      • tapland 21 minutes ago
        Absolutely, and you'll have all kinds of fixes for the symptoms throughout the project.

        COBOL isn't hard, the tooling around it on old systems are a pain though.

        • Maxion 1 minute ago
          Anything running on COBOL to day is a large enterprise system. You'll have reports running in other systems in subsidiary companies that rely on bugs in the upstream cobol code.
      • surfingdino 30 minutes ago
        Indeed, there may even be a whole lot of code that depends on it.
        • wwind123 21 minutes ago
          Yeah. Bug-for-bug migration is a real thing in large code-bases in the industry. You want to replicate all behavior of the code regardless whether the behavior is a feature or a bug.

          See Hyrum's Law: https://www.hyrumslaw.com/

        • nkjoep 12 minutes ago
          Yep, and when it’s about money you don’t want any unexpected.
  • mpfh 10 minutes ago
    [dead]