4 ms·
Oh wow I didn't know the JIT had been removed from rubinius. I was a (pretty minor) contributor to rubinius back in its llvm heyday and it was a pretty transfo
by stormbrew 5y ago
Oh wow I didn't know the JIT had been removed from rubinius.
I was a (pretty minor) contributor to rubinius back in its llvm heyday and it was a pretty transformative project for me, in terms of enabling my understanding of VMs, garbage collection, and language architecture. Even then llvm felt like a pretty heavy weight for JIT uses, but there really wasn't anything else out there then that could perform at its level. I think nowadays there'd probably be some better choices out there. Maybe cranelift.
I wound up spinning a lot of that off into my own attempt at a "VM built in itself" project that never got to the point of JITing code it did run its own "glue language" (compiled by ruby code into vm bytecode) that was used to build somewhat functioning ruby (passed like 70% of then-current rusbyspec I think?) and python support without the VM itself being aware of the language semantics. It was a really fun time in my career.
Later I used the basic understanding of LLVM it gave me to take part in the effort to port Swift to linux even, which was also a really good time for me.