Language selection for mobile systems: Java, C, or both?

Keith S. Vallerio, Niraj Kumar Jha

Research output: Chapter in Book/Report/Conference proceedingConference contribution

3 Scopus citations

Abstract

For many years, C has been known as a fast, yet unfriendly language. Similarly, Java presents its own trade-offs, including more advanced language features at the cost of slower execution. As Java implementations continue to mature, this distinction has become less clear. Special hardware, better libraries and more sophisticated compilers have placed Java-based program execution times in the same realm as C-based programs. This paper demonstrates that superior performance is obtained by carefully selecting the appropriate language for implementing the system. In some cases, this will involve both languages interacting synergistically. For the SciMark 2.0 benchmark suite, using the Java Native Interface (JNI) increases performance by 2.29X for the best case and 1.29X on average compared to the C implementation on a Sharp Zaurus PDA. Simultaneously, the energy improvement for the best case is 2.26X and 1.24X on average.

Original languageEnglish (US)
Title of host publicationProceedings of the International Conference on Embedded Systems and Applications ESA'04 - Proceedings of the INternational Conference on VLSI, VLSI'04
EditorsH.R. Arabnia, M. Guo, L.T. Yang
Pages185-191
Number of pages7
StatePublished - Dec 1 2004
EventProceedings of the International Conference on Embedded Systems and Applications ESA'04 - Proceedings of the International Conference on VLSI, VLSI'04 - Las Vegas, NV, United States
Duration: Jun 21 2004Jun 24 2004

Other

OtherProceedings of the International Conference on Embedded Systems and Applications ESA'04 - Proceedings of the International Conference on VLSI, VLSI'04
CountryUnited States
CityLas Vegas, NV
Period6/21/046/24/04

All Science Journal Classification (ASJC) codes

  • Engineering(all)

Fingerprint Dive into the research topics of 'Language selection for mobile systems: Java, C, or both?'. Together they form a unique fingerprint.

  • Cite this

    Vallerio, K. S., & Jha, N. K. (2004). Language selection for mobile systems: Java, C, or both? In H. R. Arabnia, M. Guo, & L. T. Yang (Eds.), Proceedings of the International Conference on Embedded Systems and Applications ESA'04 - Proceedings of the INternational Conference on VLSI, VLSI'04 (pp. 185-191)