Improving mobile app development using transpilers with maintainable outputs - INRIA - Institut National de Recherche en Informatique et en Automatique Accéder directement au contenu
Communication Dans Un Congrès Année : 2020

Improving mobile app development using transpilers with maintainable outputs

Résumé

Mobile application developers often target both iOS and Android in an effort to extend their target user base. There are several tools that can aid this development effort, allowing developers to maintain a single codebase for both platforms instead of two. These tools often face a few shortcomings, of which two are noteworthy: they are hard-to-replace dependencies in the codebase, and often present some type of obstacle for integrating platform-independent native code with the shared codebase. The goal of this work is to propose a new approach to creating cross-platform development tools that improves on these two aspects, and to analyze the viability of a real-world implementation of the proposed approach. An analysis of the current state of the practice indicates cross-platform compilers as a promising direction, and a study is made on the common concerns and challenges faced when developing these compilers. Based on these analyses, this work proposes the creation of a compiler that translates one platform's hand-written native code into maintainable native code for the other platform. The feasibility of implementing this approach is tested with the development of a proof-of-concept compiler from Swift to Kotlin. An analysis is made on the readability of the resulting prototype's output code, as well as other relevant metrics. The conclusion is that, while some trade-offs might be necessary, such an approach is viable if applied in an adequate ecosystem.
Fichier principal
Vignette du fichier
sample-sigconf.pdf (557.99 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-03000163 , version 1 (11-11-2020)

Identifiants

Citer

Vinícius Jorge Vendramini, Alfredo Goldman, Grégory Mounié. Improving mobile app development using transpilers with maintainable outputs. SBES 2020 - 34th Brazilian Symposium on Software Engineering, ACM, Oct 2020, Natal, Brazil. pp.1-10, ⟨10.1145/3422392.3422426⟩. ⟨hal-03000163⟩
111 Consultations
505 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More