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’.


Reply via email to