Measuring the Execution Time of Programs from different Android Embedded Programming Languages
This study conducts a comparative analysis of the performance of different programming languages on Android embedded systems, focusing on execution time. Through controlled experiments, we compared traditional and emerging programming languages (Java, Kotlin, C, C++, Python, Golang, and Rust) using a variety of representative algorithms. The results revealed significant disparities among the programming languages, with C and C++ performing significantly better than the others, although in some algorithms Golang approached close in terms of execution time. The native Android application languages, Java and Kotlin, showed intermediate results compared to the others, with very close outcomes between them. Python and Rust had the worst results, with Python's performance being justified by the interpreted nature of the language and the lack of multiprocessing features on Android. Rust was possibly hindered by its inability to efficiently access low-level resources when applied to the Android application layer.
Authors
- Ricardo Miranda Filho (ORCID: https://orcid.org/0009-0006-2100-2533)
- Raimundo Barreto (ORCID: https://orcid.org/0000-0001-8494-4225)
- Rosiane de Freitas (ORCID: https://orcid.org/0000-0002-7608-2052)
- Larissa Pessoa (ORCID: https://orcid.org/0000-0002-8307-6443)
- Ricardo Bonfim
Institutions
- Universidade Federal do Amazonas (BR)
Publication Details
- Published
- 2024-08-12
- DOI
- https://doi.org/10.1109/clei64178.2024.10700295
- Primary Topic
- Real-Time Systems Scheduling
- Type
- article
- Field-Weighted Citation Impact
- 0.00