Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to learn Just-in-Time compilation? [closed]

There are lots of books that explain the traditional static compilation theories and techniques, but those books do not say much about Just-in-Time compilers.

Although reading source code of JIT is a way to learn, the code does not always explain backgrounds and problems to solves clearly. What is the best way to understand the infrastructures and principles (such as optimizations) of designing Just-in-Time compilers? In particular, I am more interested in the JITs for scripting languages or dynamic languages.

Any books or frameworks to recommend? As for looking into any concrete code, which JIT compiler is good to start with?

Thank you.

like image 624
Joe C Avatar asked Jul 13 '13 01:07

Joe C


1 Answers

I'm not sure about a book which has JIT explained in detail: If you want to learn basics, following links would be helpful:

http://pic.dhe.ibm.com/infocenter/java7sdk/v7r0/index.jsp?topic=%2Fcom.ibm.java.zos.70.doc%2Fdiag%2Funderstanding%2Fjit_overview.html

http://docs.oracle.com/cd/E15289_01/doc.40/e15058/underst_jit.htm

However, there is a Phd Thesis by Anshuman Das Gupta at Rice University, who did a lot of work on JIT, you might find a lot about JIT technology there:

http://scholarship.rice.edu/handle/1911/20595

hth,

like image 133
A. K. Avatar answered Oct 25 '22 14:10

A. K.