News for hackers. Stuff that matters.
Re:Building the fastest Lua interpreter.. automatically by cmrdporcupine on Tuesday November 22, 2022 @10:16PM (#33714718)
Not C, but could probably do it with Rust & Cranelift's IR instead of LLVM's. Not as heavy weight of a dependency as bringing in LLVM.
Re:Building the fastest Lua interpreter.. automatically by sillycross on Tuesday November 22, 2022 @10:47PM (#33714928)
I just want to point out that LLVM is not a runtime dependency. It is only a build-time dependency if you want to build LJR from source. Once LJR is built, it is stand-alone and does not need LLVM at runtime.
Re:Building the fastest Lua interpreter.. automatically by tekknolagi on Wednesday November 23, 2022 @04:06AM (#33716818)
Do other JIT developers who would want to use Deegen need to pull in LLVM as a dependency still?
Re:Building the fastest Lua interpreter.. automatically by JonChesterfield on Wednesday November 23, 2022 @08:33PM (#33726865)
It should be a build time dependency. There's no JIT here, so there's no calling into LLVM's JIT, so I'd hope it's equivalent to using clang to create a native binary that implements the lua language.

Could probably retarget it to emit assembly and commit that for a loose interpretation of building from source.