[LLVMdev] Re: Still can't compile backend or frontend on, Windows

Henrik Bach henrik_bach_llvm at hotmail.com
Fri Nov 4 02:45:16 PST 2005


>From: Matthew Bromberg <mattcbro at earthlink.net>
>Date: Tue, 01 Nov 2005 16:21:34 -0500

>The JIT compiler is of course of great interest, but I'm also interested in 
>static compilation and in fact this seems to me one of the intriguing 
>features of LLVM, the fact that it can support both static and dynamic 
>languages, with a common optimization infrastructure. (I want my  cake and 
>to eat it too.) If I wanted just static compilation I could emit C as well, 
>or if I just wanted a JIT compiler I could emit the .NET CLR or Java 
>bytecodes.  Just as an aside, how do you support tail calls or more general 
>functional language paradigms with your C backend?  What if I don't ever 
>want to use a call stack for my function arguments, for example?
>
>Pardon me for my woeful ignorance, but currently I presume that on Linux 
>using an X86 CPU you can emit either object code directly or some kind of 
>intermediate ASCII assembly code?  If that is the case, then apparently the 
>only problem is operating system specific calls in the backend of the LLVM 
>compiler.  Also I presume that the JIT compiler really is a JIT compiler 
>and compiles genuine machine readable object code for an x86 processor 
>(among others), that is executed in memory ; as opposed to compiling byte 
>code that is ultimately just interpreted.
>
>I suppose therefore that I would be interested in Henrik's notes, at the 
>very least to see how deep the rabbit hole goes, so to speak. It would be 
>at least 2 weeks before I would be able to dig into this in earnest 
>however.

You're welcome to join me. Say when you're ready to dig...

Henrik.

>
>-Matt
>
>_______________________________________________
>LLVM Developers mailing list
>LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

_________________________________________________________________
Få alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk/




More information about the llvm-dev mailing list