Loading...
Please wait, while we are loading the content...
Similar Documents
Case Study: Implementing a Java JIT Compiler in Haskell
| Content Provider | Semantic Scholar |
|---|---|
| Author | Urban, Bernhard Steinlechner, Harald |
| Copyright Year | 2014 |
| Abstract | We present a JVM prototype implemented in the purely-functional language Haskell. It exploits several features of the language, such as strong static typing to implement an intermediate representation, and abstraction mechanism to express machine code generation in the manner of a domain specific language. The compiler consists of (i) a pass to transform Java bytecode to a register-based intermediate representation, (ii) application of an existing data-flow analysis framework to our intermediate representation and (iii) machine code generation that targets the x86 architecture. The implementation follows a compile-only approach. To implement certain Java features efficiently, code patching is used. Various code samples demonstrate the elegance of our prototype. Results prove reasonable performance compared to realworld implementations. |
| File Format | PDF HTM / HTML |
| Alternate Webpage(s) | http://wien.tomnetworks.com/uni/2013_pppj_implementing_a_java_jit_compiler_in_haskell.pdf |
| Language | English |
| Access Restriction | Open |
| Content Type | Text |
| Resource Type | Article |