Natively vs. non-natively compiled threaded Android applications: A comparative study on time-efficiency
2014 (English)Independent thesis Basic level (degree of Bachelor), 15 credits / 22,5 HE credits
Student thesis
Abstract [en]
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. , p. 34
Keywords [en]
Android, multi-threading, concurrency, benchmarking, Java, C, C++
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:his:diva-9615OAI: oai:DiVA.org:his-9615DiVA, id: diva2:730500
Subject / course
Computer Science
Educational program
Computer Science - Specialization in Systems Development
Supervisors
Examiners
2014-07-022014-06-272018-01-11Bibliographically approved