Statically compiled scripts using LLVM-Lua?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
SamuraiCrow
Prole
Posts: 2
Joined: Thu Feb 17, 2011 6:13 pm

Statically compiled scripts using LLVM-Lua?

Post 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.
SamuraiCrow
Prole
Posts: 2
Joined: Thu Feb 17, 2011 6:13 pm

Re: Statically compiled scripts using LLVM-Lua?

Post 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.
User avatar
thelinx
The Strongest
Posts: 857
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

Re: Statically compiled scripts using LLVM-Lua?

Post by thelinx »

Bartbes tried it, and found that it was actually slower than regular Lua.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Statically compiled scripts using LLVM-Lua?

Post by bartbes »

Wrong, I compiled love to llvm bytecode, I never used LLVM-lua, also the speed was exactly the same, not slower.
User avatar
thelinx
The Strongest
Posts: 857
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

Re: Statically compiled scripts using LLVM-Lua?

Post by thelinx »

Okay, sorry.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 3 guests