C++ and Kotlin performance on Android – a comparative analysis
Article Sidebar
Open full text
Issue Vol. 30 (2024)
-
Analysis of data processing efficiency with use of Apache Hive and Apache Pig in Hadoop environment
Mikołaj Skrzypczyński, Piotr Muryjas1-8
-
Analysis of the application for the DFD authoring usage possibilities
Marek Pieczykolan, Marcin Badurowicz9-13
-
Comparative analysis of query execution speed using Entity Framework for selected database engines
Krzysztof Winiarczyk, Rafał Stęgierski14-20
-
C++ and Kotlin performance on Android – a comparative analysis
Grzegorz Zaręba, Maciej Zarębski, Jakub Smołka21-25
-
Comparative analysis of Node.js frameworks
Bartłomiej Zima, Marcin Barszcz26-30
-
User experience analysis in virtual museums
Aleksandra Kobylska, Mariusz Dzieńkowski31-38
-
Analysis of user experience during interaction with automotive repair workshop websites
Radosław Danielkiewicz, Mariusz Dzieńkowski39-46
-
A comparative analysis of transitions generated using the Unity game development platform
Marek Tabiszewski47-52
-
Comparative analysis of the performance of Unity and Unreal Engine game engines in 3D games
Kamil Abramowicz, Przemysław Borczuk53-60
-
Classification Performance Comparison of BERT and IndoBERT on SelfReport of COVID-19 Status on Social Media
Irwan Budiman, Mohammad Reza Faisal, Astina Faridhah, Andi Farmadi, Muhammad Itqan Mazdadi, Triando Hamonangan Saragih, Friska Abadi61-67
Main Article Content
DOI
Authors
maciej.zarebski1@pollub.edu.pl
Abstract
The article discusses the comparison of C++ and Kotlin programming languages in a mobile environment. The authors performed a series of tests based on five selected algorithms: n-bodies, the nth term of the Fibonacci sequence, reading and writing a file, and bubble sort for both small and large sets of values. The tests were carried out in a way that allowed to determine the performance of the Kotlin language both when it uses the Just-in-Time compilation mechanism and when it is not used. The research was carried out both on a physical mobile device and emulators. Although the C++ language outclassed its rival in most of the tests performed, Kotlin showed more than three times faster performance when bubble sorting on a small (20,000 values) array.
Keywords:
References
Globalne statystyki popularności wybranych systemów operacyjnych w latach 2022-2023, https://gs.statcounter.com/os-market-share, [28.06.2023]
L. Corral, A. Sillitti, G. Succi. Mobile multiplatform development: An experiment for performance analysis, Procedia Computer Science 10 (2012) 736-743, https://doi.org/10.1016/j.procs.2012.06.094. DOI: https://doi.org/10.1016/j.procs.2012.06.094
R. Pereira, M. Couto, F. Ribeiro, R. Rua, J. Cunha, J. P. Fernandes, J. Saraiva, Energy Efficiency across Programming Languages: How Do Energy, Time, and Memory Relate, in: 10th ACM SIGPLAN International Conference (SLE’17), Vancouver, Canada, October 23– 24, 2017. DOI: https://doi.org/10.1145/3136014.3136031
S. Lee, J. W. Jeon, Benchmarking Java application using JNI and native C application on Android, in: International Conference on Control, Automation and Systems (ICCAS), Gyeonggi-do, Korea (South), October 3-4, 2012, 1160-1163.
M. Siggel, How to bring compute intensive C++ base apps to Android, in: Free and Open Source Conference 9 (FrOSCon) Sankt Augustin, Germany, August 23-24, 2014.
What Is C++ Used For? https://www.codecademy.com/resources/blog/what-is-c-plus-plus-used-for/, [30.05.2023].
Kotlin for Android, https://kotlinlang.org/docs/android-overview.html, [22.06.2023].
N-body simulation – Wikipedia, https://en.wikipedia.org/wiki/N-body_simulation, [22.06.2023].
Article Details
Abstract views: 1221
License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
