[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guile virtual machine targets
From: |
Ludovic Courtès |
Subject: |
Re: Guile virtual machine targets |
Date: |
Mon, 18 Apr 2011 23:12:47 +0200 |
User-agent: |
Gnus/5.110015 (No Gnus v0.15) Emacs/23.3 (gnu/linux) |
Hello,
There are experience reports suggesting that LLVM is not well suited for
JIT: it’s relatively slow because the main goal is AOT, not JIT, and has
a large memory footprint.
For example, from <http://vmkit.llvm.org/publications/vmkit.html>,
Section 4.3 (“Startup Time”):
Although LLVM has the advantage of being language-independent and
generating efficient code, it only performs aggressive optimizations.
A Java HelloWorld program thus takes 8 seconds to run without any
optimization activated.
Likewise, from
<http://qinsb.blogspot.com/2011/03/unladen-swallow-retrospective.html>:
Unfortunately, LLVM in its current state is really designed as a
static compiler optimizer and back end. LLVM code generation and
optimization is good but expensive.
Thanks,
Ludo’.