3 ms·
> LLVM does seem to struggle to support dynamic languages like JS well. For example Unladen Swallow (Python) and Rubinius (Ruby) were both commercially-backed e
by gsnedders 11y ago
> LLVM does seem to struggle to support dynamic languages like JS well. For example Unladen Swallow (Python) and Rubinius (Ruby) were both commercially-backed efforts to use LLVM and neither achieved much performance.
FTL has had no problems with performance of LLVM generated code as far as I'm aware: the problem has been the performance of the compilation itself, and as I understand it, that is the motivating factor here.
- pcwalton 11y agoI can verify that LLVM ISel is quite slow. It's one of the main reasons why Rust is slower to compile than Go or OCaml. (NB: The output is very high quality, so I still think it's the right choice for AOT. But slow compilation kills JITs.)