3 ms·
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 S
by noahdesu 9y ago
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.
- jchw 9y agoI wonder if that's the point. I'm not sure, I was just making guesses myself since it doesn't seem the motivation is stated.
- __s 9y agoPrevious 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 http://chrisseaton.com/rubytruffle/cext Truffleruby seems to be using Sulong now: https://github.com/oracle/truffleruby/commit/f16a52934437a968bf2d2320ed56ce8910d52605 https://github.com/oracle/truffleruby/commit/f16a52934437a96...