Re: llvm-gcc
Re: llvm-gcc
- Subject: Re: llvm-gcc
- From: Jean-Daniel Dupas <email@hidden>
- Date: Mon, 7 Sep 2009 23:13:17 +0200
It's possible to write a virtual machine that JIT llvm bytecode.
See the VMKit project for an example: http://vmkit.llvm.org/
Le 7 sept. 2009 à 22:46, Ariel Feinerman a écrit :
Thank you, it means a bitcode is needed for optimization only in
link-time, but why does someone write in
http://en.wikipedia.org/wiki/Llvm
"LLVM allows code to be compiled statically, as it is under the
traditional GCC system, or left for late-compiling from the IF to
machine code in a just-in-time compiler (JIT) in a fashion similar to
Java".
There seems strange
2009/9/7 Brent Gulanowski <email@hidden>:
I don't think you can execute the intermediate code (bitcode).
According to
the slides in one of the presentations on the llvm site, bitcode
allows
optimization across object files at link time. The linker then
performs the
last step of converting the bitcode into native executable code. I
haven't
heard anything about a runtime virtual machine, and Mac OS X won't
know how
to run llvm bitcode on its own. But maybe I missed that info
somewhere.
On Mon, Sep 7, 2009 at 2:53 PM, Ariel Feinerman <email@hidden
>
wrote:
Hi,
I read about llvm, if I understand (if not, tell me) llvm can
compile
two file types: a native binary and an intermediate, that uses JIT
compilation. My question:
is the way to point to behavior and if resulting inter code is
managed, how does it work without Xcode (i e virtual machine like
Java)?
--
best regards
Ariel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
Brent Gulanowski
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
best regards
Ariel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
-- Jean-Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >llvm-gcc (From: Ariel Feinerman <email@hidden>) |
| >Re: llvm-gcc (From: Brent Gulanowski <email@hidden>) |
| >llvm-gcc (From: Ariel Feinerman <email@hidden>) |