love-android: discussion

A project to port LÖVE to Android handhelds
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: love-android

Post by T-Bone »

Jasoco wrote:
T-Bone wrote:You can always root it and install something better, you know.

But yeah, Android 2.1 is a good place to aim at for now.
No you can't. The instructions for rooting this phone are impossible to perform because all the links to the required tools are broken. Screw that crap.
If you make a thread about rooting, I can help you out.
User avatar
Jasoco
Inner party member
Posts: 3727
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: love-android

Post by Jasoco »

T-Bone wrote:
Jasoco wrote:
T-Bone wrote:You can always root it and install something better, you know.

But yeah, Android 2.1 is a good place to aim at for now.
No you can't. The instructions for rooting this phone are impossible to perform because all the links to the required tools are broken. Screw that crap.
If you make a thread about rooting, I can help you out.
I don't want to root my crappy Android. It's slow enough as it is and not worth it. I don't even Jailbreak my iDevices. But thanks anyway.
User avatar
TechnoCat
Inner party member
Posts: 1612
Joined: Thu Jul 30, 2009 12:31 am
Location: Milwaukee, WI
Contact:

Re: love-android

Post by TechnoCat »

Jasoco wrote: I don't want to root my crappy Android. It's slow enough as it is and not worth it. I don't even Jailbreak my iDevices. But thanks anyway.
The main feature with Android 2.2 is the optimized Dalvik VM. It makes a world of difference in terms of speed. If there is an option to root and get it, I would.
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: love-android

Post by T-Bone »

I must say that while it's a good idea to be compatible with Android 2.1, it is of huge importance that löve-android uses the Dalvik JIT-capabilities when possible (2.2+), if lua is run in pure Java. Otherwise, I'm afraid performance might become a quite big issue.
User avatar
slime
Solid Snayke
Posts: 3170
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: love-android

Post by slime »

Compile it with LuaJIT for ARM, then pure Lua code might be faster than the Java code in some cases. :P
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: love-android

Post by T-Bone »

slime wrote:Compile it with LuaJIT for ARM, then pure Lua code might be faster than the Java code in some cases. :P
But how good is the compatability between LÖVE and LuaJIT? The point of doing it all in luaj is that it's easy, which might actually get it done (which is really all that matters). Using Dalvik's JIT shouldn't require more than an extra line in the manifest, which doesn't make things harder but still improves performance. Therefore, it's worth doing.
User avatar
SiENcE
Party member
Posts: 807
Joined: Thu Jul 24, 2008 2:25 pm
Location: Berlin/Germany
Contact:

Re: love-android

Post by SiENcE »

LUAjit is buggy has hell!
User avatar
slime
Solid Snayke
Posts: 3170
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: love-android

Post by slime »

LuaJIT is nearly bug free. It is also a drop-in replacement for Lua so as long as you don't use the FFI you will get pretty much 100% compatibility with Lua 5.1.4 and love.

There is a bug in the latest love source code (reliance on order which is technically undefined) which causes love 0.8.0 to crash on quit with LuaJIT if you have text on-screen.
User avatar
thelinx
The Strongest
Posts: 857
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

Re: love-android

Post by thelinx »

SiENcE wrote:LUAjit is buggy has hell!
:huh:
User avatar
SiENcE
Party member
Posts: 807
Joined: Thu Jul 24, 2008 2:25 pm
Location: Berlin/Germany
Contact:

Re: love-android

Post by SiENcE »

We are using Lua in Iris2 very heavily ~2mb of lua code and we tried LuaJit and it makes Iris2 very unstable. Maybe today it's better, but as far as i know, not.
Last edited by SiENcE on Wed Nov 02, 2011 8:15 pm, edited 1 time in total.
Locked

Who is online

Users browsing this forum: Ahrefs [Bot] and 0 guests