Re:Ruby 2.6.0-preview2 released with JIT
by pavanky on Sunday June 03, 2018 @01:45PM
(#17220683)
Why aren't they using LLVM :-/
[ Parent
| on HN ]
They answer this on the github:
> Unstable interfaces. An LLVM JIT is already used by Rubicon. A lot of efforts in preparation of code used by RTL insns (an environment)
https://github.com/vnmakarov/ruby/tree/rtl_mjit_branch#a-few...
llvm isn't always available, doesn't support as many architectures and doesn't always give the best performance.
The *nix philosophy has long been towards trying to provide choice wherever possible, so that people can use the tool that best meets their needs.
Re:Ruby 2.6.0-preview2 released with JIT
by jashmatthews on Sunday June 03, 2018 @01:51PM
(#17220712)
The new Ruby method JIT can use either GCC or clang as the backend. It uses C as an intermediate representation.