Improving mobile app development using transpilers with maintainable outputs - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2020

Improving mobile app development using transpilers with maintainable outputs


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
Origin : Files produced by the author(s)

Dates and versions

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



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⟩
87 View
448 Download



Gmail Facebook Twitter LinkedIn More