Native cross-platform app development using the SequalsK transpiler

被引:0
|
作者
Schultes, Dominik [1 ]
Schneider, Larissa [1 ]
Heymann, Tobias [1 ]
Wild, Franziska [1 ]
机构
[1] Technische Hochschule Mittelhessen, Wilhelm-Leuschner-Str. 13, Friedberg (Hessen),61169, Germany
关键词
Application programming interfaces (API) - Application programs - Program debugging;
D O I
10.1016/j.infsof.2024.107626
中图分类号
学科分类号
摘要
Context: Developing two separate versions of an app for iOS and Android requires significant effort. Existing cross-platform development frameworks may reduce this effort, but they also come with tradeoffs such as high tool dependency. Objective: To avoid the drawbacks of current methods, we introduce a new approach to cross-platform app development, provide the necessary tools, and conduct a thorough evaluation to demonstrate the feasibility of our proposed approach. Method: The central idea of the new native cross-platform development approach is to actively develop apps in both native programming languages, Kotlin for Android and Swift for iOS, while exchanging considerable parts of the source code in a bidirectional fashion using a deterministic transpiler. As the centerpiece of our proposed development approach, we present such a bidirectional Swift-Kotlin transpiler, called SequalsK. It supports the majority of the important constructs of both languages and is able to generate syntactically and semantically correct Kotlin code out of Swift code and vice versa. Results: In our evaluation, we determined that SequalsK is the sole existing bidirectional transpiler, distinguishing it from other transpilers that support only one direction. For the Kotlin-to-Swift direction, SequalsK emerges as the premier transpiler, while for the reverse direction, it stands among the top transpilers. Through six distinct case studies, we applied our native cross-platform development approach, showcasing its ability to fulfill all goals. Across each study, we successfully generated fully-functional native Android and iOS apps, achieving significant time savings as up to 86 percent of the source code has to be programmed only once and can be transpiled to the other involved programming language automatically. Conclusion: At the moment, in particular data structures and business logic can be transpiled successfully. In the future, we expect further improvements by extending the SequalsK transpiler in order to process user-interface parts as well. © 2024 The Authors
引用
收藏
相关论文
共 50 条
  • [31] Cross-Platform Development Tools for Smartphone Applications
    Ohrt, Julian
    Turau, Volker
    COMPUTER, 2012, 45 (09) : 72 - 79
  • [32] Methods of Cross-Platform Development Mobile Applications
    Ptitsyn, Pavel Sergeyevich
    RESEARCH JOURNAL OF PHARMACEUTICAL BIOLOGICAL AND CHEMICAL SCIENCES, 2015, 6 (01): : 1803 - 1814
  • [33] Cross-platform Solution for Development of Mobile Applications
    Vitols, Gatis
    Smits, Ingus
    Bogdanov, Oleg
    ICEIS: PROCEEDINGS OF THE 15TH INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS - VOL 2, 2013, : 273 - 277
  • [34] Cloud backup: an enhanced smartphone app designed with cross-platform approach
    Jang, Yu-Teng Jacky
    Chang, Shuchih Ernest
    Shen, Wei-Cheng
    Wang, Sheng-Wen
    INTERNATIONAL JOURNAL OF EMBEDDED SYSTEMS, 2016, 8 (2-3) : 174 - 184
  • [35] CROSS-PLATFORM DEVELOPMENT WITH VISUAL C++
    CULLENS, C
    DR DOBBS JOURNAL, 1994, 19 (03): : 64 - &
  • [36] Cross-Platform Mobile Development: Challenges and Opportunities
    Amatya, Suyesh
    Kurti, Arianit
    ICT INNOVATIONS 2013: ICT INNOVATIONS AND EDUCATION, 2014, 231 : 219 - +
  • [37] Cross-platform Development of Smart Conference Clients
    Paramonov, Ilya
    Vasilev, Andrew
    Kozhemyakin, Nikita
    Timofeev, Ivan
    Krylov, Egor
    Subbotkin, Alexey
    Korzun, Dmitry
    Galov, Ivan
    PROCEEDINGS OF THE 11TH CONFERENCE OF OPEN INNOVATIONS ASSOCIATION FRUCT, 2012, : 197 - +
  • [38] DEVELOPMENT OF THE CROSS-PLATFORM VIRTUAL LABORATORY ON PHYSICS
    Daineko, Yevgeniya
    Ipalakova, Madina
    Brodyagina, Mariya
    Yunnikova, Marina
    Bekturganov, Maulen
    9TH INTERNATIONAL CONFERENCE ON EDUCATION AND NEW LEARNING TECHNOLOGIES (EDULEARN17), 2017, : 10107 - 10112
  • [39] Development from platform GIS to cross-platform interoperable GIS
    Gong, Jianya
    Jia, Wenjue
    Chen, Yumin
    Xie, Jibo
    Wuhan Daxue Xuebao (Xinxi Kexue Ban)/Geomatics and Information Science of Wuhan University, 2004, 29 (11):
  • [40] Chouette: An Automated Cross-Platform UI Crawler for Improving App Quality
    Wong, Terrence
    2023 38TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING WORKSHOPS, ASEW, 2023, : 175 - 178