| ▲ | lp4v4n 3 hours ago | ||||||||||||||||||||||||||||
Can anyone who knows the mainframe domain explain why legacy COBOL applications are not being aggressively ported to modern java applications? It sounds like an obvious usage of AI to solve a real world problem and yet I barely hear about it. | |||||||||||||||||||||||||||||
| ▲ | qak-qskj 3 hours ago | parent | next [-] | ||||||||||||||||||||||||||||
There is no problem. If the COBOL code is stable and works, it works. You would introduce new problems. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | andsoitis 2 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
> It sounds like an obvious usage of AI to solve a real world problem what is the problem that warrants solving? | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | natas 2 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
You're asking how a watch works! The truth is that COBOL, particularly on IBM System/390 and z/Architecture, has some rather unusual data representations and capabilities. For example, PIC 9(18) DISPLAY occupies 144 bits! There are also packed-decimal representations (COMP-3), native decimal arithmetic supported directly by the processor, and other specialized representations. Modern Enterprise COBOL even supports decimal fields of up to 31 digits. These aren't necessarily exclusive to COBOL or IBM hardware, but the combination of language features, hardware support, and ecosystem integration makes the environment quite distinctive. And then there's the ecosystem itself. I'm going to keep this deliberately vague for simplicity, but imagine an airline or a bank with millions of lines of COBOL, deeply integrated with databases, transaction processing, messaging, batch systems, and decades of accumulated business logic. Porting that isn't simply a matter of translating source code. You have to preserve behavior, data representations, transaction semantics, and integrations. Verification alone would be an enormous undertaking. You really don't want to accidentally introduce a rounding error into a banking system or break an airline's reservation system. Much of this software is also extremely close to the underlying hardware and operating environment. That's part of what makes these systems so difficult to replace. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | trollbridge 2 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||
Because Java is much legacy technical debt as COBOL. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||