Change search
ReferencesLink to record
Permanent link

Direct link
Compiler for an Embedded Extension Language on Android
Linköping University, Department of Computer and Information Science, Software and Systems. Linköping University, Faculty of Science & Engineering.
2012 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

Bytecode interpreters are a common implementation strategy for scripting languages. Source code is translated to bytecode to improve time and memory performance. The Android platform includes the Dalvik virtual machine, which typically executes bytecode compiled from Java source code. This thesis describes how this virtual machine can be reused to execute bytecode compiled from a scripting language. A compiler is written for a test bed scripting language and the time and memory performance is evaluated.

The Dalvik virtual machine, designed for a statically typed object-oriented language, was flexible enough to successfully host a dynamically typed scripting language that allows for objects to be transported cheaply between scripts and Java code. The compiled code executes one to two orders of magnitude faster than with a naive interpreting implemetation. Numeric performance is lacking in general, though simpler cases are optimized.

Place, publisher, year, edition, pages
2012. , 55 p.
Keyword [en]
compiler embedded extension language android dalvik jvm
National Category
Computer Engineering
URN: urn:nbn:se:liu:diva-119545ISRN: LIU-IDA/LITH-EX-A--12/060--SEOAI: diva2:824761
External cooperation
Attentec AB
Subject / course
Computer Engineering
2012-11-05, Donald Knuth, Linköpings universitet, Linköping, 15:00 (Swedish)
Available from: 2015-06-23 Created: 2015-06-21 Last updated: 2015-06-23Bibliographically approved

Open Access in DiVA

fulltext(725 kB)21 downloads
File information
File name FULLTEXT01.pdfFile size 725 kBChecksum SHA-512
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Rasmus, Svensson
By organisation
Software and SystemsFaculty of Science & Engineering
Computer Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 21 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 41 hits
ReferencesLink to record
Permanent link

Direct link