IBM’s generative AI tool aims to refactor ancient COBOL code for its mainframes

There are hundreds of billions of lines of COBOL code running on production systems worldwide. That’s not ideal for a language that is more than 60 years old and whose primary architects are mostly retired or dead.
IBM, eager to keep those legacy functions on its Z mainframe systems, wants that code rewritten in Java. It tried getting humans to do it a few years back, but now it has another idea. Yes, you guessed it: It’s putting AI on the job.
The IBM watsonx Code Assistant, slated to be available in Q4 this year, very much intends to keep humans in the mix, but with a push from generative AI in analyzing, refactoring, and testing the new object-oriented code. It’s not an all-or-nothing process, either, as IBM claims that watsonx-generated code should be interoperable with COBOL and certain Z mainframe functions.
In a technical blog post specific to COBOL conversion, IBM’s Kyle Charlet, CTO for zSystems software, steps up to the plate and says what a lot of people have said about COBOL: It’s not just the code; it’s the business logic, the edge-cases, and the institutional memory, or the lack thereof.
Some clients… have spent years and millions trying to modernize their COBOL code, and despite all that, only a fraction has been modernized. It takes lots of developers and painstaking manual work to rewrite COBOL. People have tried many different ways to modernize these applications, and in my experience, with varied results. None are exemplary.
IBM’s watsonx, Charlet writes, could help large organizations decouple individual services from monolithic COBOL apps. In IBM’s view, it will come in three steps:
- Refactor, in which individual services are “surgically”separated or extracted from larger code
- Transform, either to mainframe-friendly Java code or COBOL that can speak directly to Java
- Validate, with AI helping to create test cases but with coders still “in the driver’s seat”
In some ways, AI assistance seems like it can only help with the generational challenge of moving COBOL forward while keeping it functional. While COBOL codebases can be relatively stable and secure—once found to be among the least problematic in a broad survey—the costs of updating and extending them are gigantic. Legacy COBOL was one of the reasons the Office of Personnel Management suffered a deeply intrusive break-in in 2015, as the antiquated code could not be encrypted or made to work with other secure systems.
Але є повторюваний аргумент, що COBOL добре справляється з керуванням бізнес-системами та обмінами таким чином ( дехто може стверджувати ), що створює менше векторів атак. Або ви можете стверджувати , що створений штучним інтелектом і реструктурований код може виглядати належним чином і здаватися готовим до тестування, але без людей навколо, які точно знають, чому код робить те, що він робить, оновлений штучним інтелектом код може мати стільки ж шуму, скільки ШІ- покращене відео.
IBM watsonx Code Assistant for Z буде наступним чином розгорнуто для швидкості Red Hat Ansible Light. З огляду на те, що watsonx.ai нібито навчено більш ніж 100 мовам програмування, швидше за все, незабаром з’являться інші пілоти штучного інтелекту для коду старих мейнфреймів.
Залишити відповідь