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 条
  • [1] From Native to Cross-platform Hybrid Development
    Pinto, Carlos Manso
    Coutinho, Carlos
    2018 9TH INTERNATIONAL CONFERENCE ON INTELLIGENT SYSTEMS (IS), 2018, : 669 - 676
  • [2] Analysis of Cross-Platform Mobile App Development Tools
    Shah, Kewal
    Sinha, Harsh
    Mishra, Payal
    2019 IEEE 5TH INTERNATIONAL CONFERENCE FOR CONVERGENCE IN TECHNOLOGY (I2CT), 2019,
  • [3] Cross-platform mobile app development: the IscteSpots experience
    de Almeida, Joao Cambaia
    Brito e Abreu, Fernando
    de Almeida, Duarte Sampaio
    2023 38TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING WORKSHOPS, ASEW, 2023, : 11 - 16
  • [4] Testing Cross-Platform Mobile App Development Frameworks
    Boushehrinejadmoradi, Nader
    Ganapathy, Vinod
    Nagarakatte, Santosh
    Iftode, Liviu
    2015 30TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2015, : 441 - 451
  • [5] Weighted Evaluation Framework for Cross-Platform App Development Approaches
    Rieger, Christoph
    Majchrzak, Tim A.
    INFORMATION SYSTEMS: DEVELOPMENT, RESEARCH, APPLICATIONS, EDUCATION, 2016, 264 : 18 - 39
  • [6] Comprehensive Analysis of Innovative Cross-Platform App Development Frameworks
    Majchrzak, Tim A.
    Biorn-Hansen, Andreas
    Gronli, Tor-Morten
    PROCEEDINGS OF THE 50TH ANNUAL HAWAII INTERNATIONAL CONFERENCE ON SYSTEM SCIENCES, 2017, : 6162 - 6171
  • [7] Evaluating the performance of Android based Cross-Platform App Development Frameworks
    Mahendra, Mohammad
    Anggorojati, Bayu
    2020 6TH INTERNATIONAL CONFERENCE ON COMMUNICATION AND INFORMATION PROCESSING, ICCIP 2020, 2020, : 32 - 37
  • [8] Leprosy Screening Based on Artificial Intelligence: Development of a Cross-Platform App
    Moreira De Souza, Marcio Luis
    Lopes, Gabriel Ayres
    Branco, Alexandre Castelo
    Fairley, Jessica K.
    De Oliveira Fraga, Lucia Alves
    JMIR MHEALTH AND UHEALTH, 2021, 9 (04):
  • [9] Towards the definitive evaluation framework for cross-platform app development approaches
    Rieger, Christoph
    Majchrzak, Tim A.
    JOURNAL OF SYSTEMS AND SOFTWARE, 2019, 153 : 175 - 199
  • [10] A Students' Perspective of Native and Cross-Platform Approaches for Mobile Application Development
    Meirelles, Paulo
    Aguiar, Carla S. R.
    Assis, Felipe
    Siqueira, Rodrigo
    Goldman, Alfredo
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2019, PT V: 19TH INTERNATIONAL CONFERENCE, SAINT PETERSBURG, RUSSIA, JULY 14, 2019, PROCEEDINGS, PART V, 2019, 11623 : 586 - 601