[LLVMdev] JVM Backend

Jon Harrop jon at ffconsultancy.com
Fri Nov 27 08:56:28 PST 2009


On Friday 27 November 2009 05:55:59 David Roberts wrote:
> > If you translate to a big array of memory and index into it, how is it
> > better than the mips -> java compiler?
>
> Yes, it is similar to the mips to java compiler in that regard, but it
> does have several advantages over it. For example, functions are
> mapped to individual methods (rather than just a big chunk of
> translated instructions), allowing Java to call individual functions
> in the compiled language and vice versa. This also allows programs to
> be split amongst multiple classes rather than statically linking
> everything into the one file (which is sometimes not possible for
> large projects).

How do you handle tail calls and value types?

-- 
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?e



More information about the llvm-dev mailing list