AI vs. Dinosaurs - Automated Re-Implementation of Legacy Mainframe Applications in Java By Combining Program Synthesis and GPT

Creators: Fischer-Heselhaus, Simon and Brune, Philipp
Title: AI vs. Dinosaurs - Automated Re-Implementation of Legacy Mainframe Applications in Java By Combining Program Synthesis and GPT
Item Type: Book Section
Projects: TTZ-GZ
Page Range: pp. 205-221
Date: 27 October 2023
Divisions: Informationsmanagement
Abstract (ENG): Large-scale mainframe applications written in outdated languages such as COBOL still form the core of the enterprise IT in many organizations, even though their flexibility and maintainability declines continuously. Their manual re-implementation in modern languages like Java is usually economically not feasible. Automated code conversion of legacy programs usually produces poor quality code in the target language, even with recent AI tools such as ChatGPT. In addition, code conversion recovers dead or unnecessary code artifacts in the new language. Therefore, in this paper we explore a novel approach, which does not convert the legacy code, but instead uses the existing input/output data to generate program tokens through program synthesis. These tokens are subsequently translated into input tokens and submitted to ChatGPT to produce the target code. The approach is illustrated and evaluated by means of a semi-realistic example program. The obtained results look promising, but need to be further investigated.
Forthcoming: No
Main areas or research: Transformationmanagement
Language: English
Citation:

Fischer-Heselhaus, Simon and Brune, Philipp (2023) AI vs. Dinosaurs - Automated Re-Implementation of Legacy Mainframe Applications in Java By Combining Program Synthesis and GPT. In: Proceedings of the 9th International Conference on Mobile, Secure and Programmable Networking - MSPN / Bouzeframe, S. et al. (Eds.); 14482 Cham: Springer, pp. 205-221. (Lecture Notes in Computer Science; 14482). ISBN 9783031524257

Actions for admins (login required)

View Item in edit mode View Item in edit mode