Re:Sulong – A high-performance LLVM bitcode interpreter buil...
by noahdesu on Sunday February 11, 2018 @04:06PM
(#16354805)
I believe that one compelling use case is to avoid the overhead of cross language boundaries (ie JNI) when the native code is compiled to bitcode and run with Sulong.
[ Parent
| on HN ]
Re:Sulong – A high-performance LLVM bitcode interpreter buil...
by __s on Sunday February 11, 2018 @05:00PM
(#16355073)
Previous Graal show offs had Ruby running C extensions by implementing a Graal JIT for x86. I imagine LLVM a nicer level of abstraction to intercept at
This seems to imply only implementing a C JIT, so my memory may be wrong: http://chrisseaton.com/rubytruffle/cext
Truffleruby seems to be using Sulong now: https://github.com/oracle/truffleruby/commit/f16a52934437a96...