{"title":"使用机器学习技术实现软件现代化","authors":"Norbert Somogyi, Gábor Kövesdán","doi":"10.1109/SAMI50585.2021.9378659","DOIUrl":null,"url":null,"abstract":"As software engineering techniques and practices continuously evolve, programs created with an older technology stack become harder and more costly to maintain. These software are often referred to as legacy code. Naturally, the need arises to make use of the newer and more effective technologies, making the legacy code easier to maintain and operate. However, companies rarely allocate the necessary resources to manually re-implement these systems as that would be highly time-consuming and extremely costly to spend exclusively for maintenance purposes. Thus, various code modernization approaches have been proposed and tools have been created to reduce the cost of re-implementation by semi-automatically translating legacy systems into a modern, more advantageous environment. However, the source and target languages may be so different in nature that making the generated code feel as natural as possible is often difficult. These linguistic differences frequently impose the emulation of certain features between the two languages, which may prove too difficult to automatically handle using conventional static analysis of the source code. To this end, in this paper we propose the novel method of using machine learning techniques to teach the transformer on how to effectively handle cases that would otherwise be very error-prone in practice. This way, the transformation tool can achieve both a high level of automation and the ability to generate precise, error free code.","PeriodicalId":402414,"journal":{"name":"2021 IEEE 19th World Symposium on Applied Machine Intelligence and Informatics (SAMI)","volume":"15 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-01-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Software Modernization Using Machine Learning Techniques\",\"authors\":\"Norbert Somogyi, Gábor Kövesdán\",\"doi\":\"10.1109/SAMI50585.2021.9378659\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"As software engineering techniques and practices continuously evolve, programs created with an older technology stack become harder and more costly to maintain. These software are often referred to as legacy code. Naturally, the need arises to make use of the newer and more effective technologies, making the legacy code easier to maintain and operate. However, companies rarely allocate the necessary resources to manually re-implement these systems as that would be highly time-consuming and extremely costly to spend exclusively for maintenance purposes. Thus, various code modernization approaches have been proposed and tools have been created to reduce the cost of re-implementation by semi-automatically translating legacy systems into a modern, more advantageous environment. However, the source and target languages may be so different in nature that making the generated code feel as natural as possible is often difficult. These linguistic differences frequently impose the emulation of certain features between the two languages, which may prove too difficult to automatically handle using conventional static analysis of the source code. To this end, in this paper we propose the novel method of using machine learning techniques to teach the transformer on how to effectively handle cases that would otherwise be very error-prone in practice. This way, the transformation tool can achieve both a high level of automation and the ability to generate precise, error free code.\",\"PeriodicalId\":402414,\"journal\":{\"name\":\"2021 IEEE 19th World Symposium on Applied Machine Intelligence and Informatics (SAMI)\",\"volume\":\"15 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-01-21\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 IEEE 19th World Symposium on Applied Machine Intelligence and Informatics (SAMI)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/SAMI50585.2021.9378659\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE 19th World Symposium on Applied Machine Intelligence and Informatics (SAMI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SAMI50585.2021.9378659","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Software Modernization Using Machine Learning Techniques
As software engineering techniques and practices continuously evolve, programs created with an older technology stack become harder and more costly to maintain. These software are often referred to as legacy code. Naturally, the need arises to make use of the newer and more effective technologies, making the legacy code easier to maintain and operate. However, companies rarely allocate the necessary resources to manually re-implement these systems as that would be highly time-consuming and extremely costly to spend exclusively for maintenance purposes. Thus, various code modernization approaches have been proposed and tools have been created to reduce the cost of re-implementation by semi-automatically translating legacy systems into a modern, more advantageous environment. However, the source and target languages may be so different in nature that making the generated code feel as natural as possible is often difficult. These linguistic differences frequently impose the emulation of certain features between the two languages, which may prove too difficult to automatically handle using conventional static analysis of the source code. To this end, in this paper we propose the novel method of using machine learning techniques to teach the transformer on how to effectively handle cases that would otherwise be very error-prone in practice. This way, the transformation tool can achieve both a high level of automation and the ability to generate precise, error free code.