News for hackers. Stuff that matters.
Re:SPy: An interpreter and compiler for a fast statically ty... by pjmlp on Wednesday November 05, 2025 @02:01PM (#45826517)
Have you seen how TruffleRuby makes use of LLVM bitcode, to ship C compiler as well?
Re:SPy: An interpreter and compiler for a fast statically ty... by vidarh on Wednesday November 05, 2025 @06:06PM (#45829285)
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.
Re:SPy: An interpreter and compiler for a fast statically ty... by pjmlp on Thursday November 06, 2025 @03:09AM (#45832719)
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...

Re:SPy: An interpreter and compiler for a fast statically ty... by vidarh on Thursday November 06, 2025 @04:53PM (#45840926)
Thanks, will definitely give it a read.