{"title":"Evaluating Swift-to-Kotlin and Kotlin-to-Swift Transpilers","authors":"L. Schneider, Dominik Schultes","doi":"10.1145/3524613.3527811","DOIUrl":null,"url":null,"abstract":"Unlike most popular mobile cross-platform development frameworks, transpilers promise maintainable code bases that are independent of the continued life of the development tools used. As more and more transpiler projects using the native programming languages Kotlin (Android) and Swift (iOS) were presented in recent years, this paper provides an overview of the language coverage of three representative transpilers, Gryphon (Swift-to-Kotlin), Kotlift (Kotlin-to-Swift), and SequalsK (both directions). For the test cases based on the overview chapters of the Swift and Kotlin documentation, good results were obtained in terms of functionality and readability of the output code for Gryphon and SequalsK. Although some shortcomings are visible in all transpilers, Kotlift is classified as a less mature project.","PeriodicalId":408284,"journal":{"name":"2022 IEEE/ACM 9th International Conference on Mobile Software Engineering and Systems (MobileSoft)","volume":"2016 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE/ACM 9th International Conference on Mobile Software Engineering and Systems (MobileSoft)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3524613.3527811","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
Unlike most popular mobile cross-platform development frameworks, transpilers promise maintainable code bases that are independent of the continued life of the development tools used. As more and more transpiler projects using the native programming languages Kotlin (Android) and Swift (iOS) were presented in recent years, this paper provides an overview of the language coverage of three representative transpilers, Gryphon (Swift-to-Kotlin), Kotlift (Kotlin-to-Swift), and SequalsK (both directions). For the test cases based on the overview chapters of the Swift and Kotlin documentation, good results were obtained in terms of functionality and readability of the output code for Gryphon and SequalsK. Although some shortcomings are visible in all transpilers, Kotlift is classified as a less mature project.