Page 1 of 1

Statically compiled scripts using LLVM-Lua?

Posted: Thu Feb 17, 2011 6:20 pm
by SamuraiCrow
I saw a thread about using LuaJIT for Love2D scripts. I was wondering if anyone has tried LLVM-Lua integration for Love2D. Personally, being able to use a statically compiled version of the executables not dependent on the Love engine sounds like a winner to me.

Re: Statically compiled scripts using LLVM-Lua?

Posted: Thu Feb 17, 2011 6:27 pm
by SamuraiCrow
Found a previous post about it. It's kind of a shame though. LLVM-Lua has a really nice optimizer even when using JIT-compiled code.

Re: Statically compiled scripts using LLVM-Lua?

Posted: Thu Feb 17, 2011 6:40 pm
by thelinx
Bartbes tried it, and found that it was actually slower than regular Lua.

Re: Statically compiled scripts using LLVM-Lua?

Posted: Thu Feb 17, 2011 10:14 pm
by bartbes
Wrong, I compiled love to llvm bytecode, I never used LLVM-lua, also the speed was exactly the same, not slower.

Re: Statically compiled scripts using LLVM-Lua?

Posted: Fri Feb 18, 2011 9:07 am
by thelinx
Okay, sorry.