Remix.run Logo
pjmlp 15 hours ago

Have you seen how TruffleRuby makes use of LLVM bitcode, to ship C compiler as well?

vidarh 11 hours ago | parent [-]

I haven't, but not surprised given some of the very aggressive (in a good way) things they've done to address performance. It's impressive. I spoke to Chris Seaton back when it was getting started, and loved many of the things they were doing. Personally I want something leaner, and self-hosting, but that's also why mine is still experimental and wildly incomplete and TruffleRuby works for a lot of things.

pjmlp 2 hours ago | parent [-]

Here, I don't know all the details, just remember having seen some talks about this in the past.

It builds on top of this effort, https://medium.com/graalvm/graalvm-llvm-toolchain-f606f995bf

"From Interpreting C Extensions to Compiling Them"

https://eregon.me/blog/assets/research/from-interpreting-c-e...