3 ms·
You're reading it too politically. It says right up in the first paragraph: > While LLVM is an excellent optimizer, it isn’t specifically designed for the opti
by chipsy 11y ago
You're reading it too politically. It says right up in the first paragraph:
> While LLVM is an excellent optimizer, it isn’t specifically designed for the optimization challenges of dynamic languages like JavaScript.
LLVM was, more-or-less, designed around C++ semantics. B3 is not going to be a better C++ compiler than LLVM. LLVM is not going to be a better JS compiler than B3. They're taking different evolutionary paths.
- Ono-Sendai 11y agoLLVM compiles fast code for things that aren't C++ as well. Maybe you could say it's biased towards static languages. Also its compilation speed is supposed to be fast in terms of AOT compilation, but not necessarily fast enough for JITing javascript in web-pages.