AI migrated legacy COBOL programs to Java, bugs included
11–20 of 108 posts
Re: AI migrated legacy COBOL programs to Java, bugs included
#12Re: AI migrated legacy COBOL programs to Java, bugs included
#13I 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...
Re: AI migrated legacy COBOL programs to Java, bugs included
#14As specified, please find 99997 correct parts and the 3 defects (do not use)
Re: AI migrated legacy COBOL programs to Java, bugs included
#15Earlier quoted context omitted.
sometimes if the bug exists for enough time it is intended behavior
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.
Re: AI migrated legacy COBOL programs to Java, bugs included
#16Re: AI migrated legacy COBOL programs to Java, bugs included
#17The 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 l…
At least if tescoverage is good, but well... That's something llms can also be used for
Re: AI migrated legacy COBOL programs to Java, bugs included
#18Re: AI migrated legacy COBOL programs to Java, bugs included
#19COBOL is not about the language, it's about the whole environment in the mainframe. LLM fanboys won't understand this. You need something like a mainframe with a 99.99% uptime no matter what happens in hardware, with live CPU swapping and such.