Natively vs. non-natively compiled threaded Android applications: A comparative study on time-efficiency
Independent thesis Basic level (degree of Bachelor), 15 credits / 22,5 HE creditsStudent thesis
The aim of this work is to investigate whether threaded Android-applications written in C or C++ are more time-efficient than threaded Android-applications written in Java.
The first part of the work was to perform a literature analysis in order to find out which types of algorithms were used in previous studies comparing the performance between non-threaded Android-applications written in Java and C/C++. Another literature analysis was performed where the outcome was to find suitable threaded versions of algorithms that could be used to compare the difference in time-consumption between algorithms implemented in Java and C/C++.
Results have shown that for simple arithmetic operations and sorting functions, it is still possible to gain performance in terms of time-efficiency by implementing applications in C/C++. However, there are clear indications that these gains are smaller than they are in the non-threaded case. In algorithms dealing with string operations, the Java-version was significantly more time-efficient than the C++-version
Place, publisher, year, edition, pages
2014. , 34 p.
Android, multi-threading, concurrency, benchmarking, Java, C, C++
IdentifiersURN: urn:nbn:se:his:diva-9615OAI: oai:DiVA.org:his-9615DiVA: diva2:730500
Subject / course
Computer Science - Specialization in Systems Development
Sjölie, Daniel, Lektor i datavetenskap
Steinhauer, Joe, Lektor i datavetenskap