Live data from Hacker News

Building the fastest Lua interpreter automatically

sillycross.github.io

1–10 of 114 posts

Re: Building the fastest Lua interpreter automatically

#8
post #7

Fascinating! I wonder if there's a way to keep this 100% inside the C ecosystem, without having to reach for an LLVM dependency...

In general, probably, you'd have to replace the part where he writes the LLVM IR directly to say GCC's IR. If you mean no IR at all it doesn't sound like it based on the part about replacing the assembly from LuaJIT.

Re: Building the fastest Lua interpreter automatically

#10
One caveat to pay attention to... Ever since LuaJIT and PUC-Lua diverged, PUC lua has made some significant changes to the garbage collector. I wonder if that might affect the comparison vs LuaJIT for memory intensive benchmarks such as binarytrees and tablesort.
Post reply on HN