forums.PPSSPP.org
Android ART - new opportunity for PPSSPP? - Printable Version

+- forums.PPSSPP.org (https://forums.ppsspp.org)
+-- Forum: PPSSPP - Playstation Portable Simulator Suitable for Playing Portably (/forumdisplay.php?fid=1)
+--- Forum: Development (/forumdisplay.php?fid=3)
+--- Thread: Android ART - new opportunity for PPSSPP? (/showthread.php?tid=7435)



Android ART - new opportunity for PPSSPP? - Grimmer - 11-20-2013 08:50 PM

Hello!
New android 4.4 has been released with quite a big feature: Android Runtime (ART) so I created that thread to ask a developers how this could affect a PPSSPP performance. Maybe it will be a huge leap forward for this emulator or maybe this will just not work like that?
Thanks in advance for any answers Smile.


RE: Android ART - new opportunity for PPSSPP? - skabird - 11-20-2013 10:10 PM

Sorry to disappoint but ART applies for applications written in Java, while PPSSPP is almost exclusively C++.


RE: Android ART - new opportunity for PPSSPP? - VIRGIN KLM - 11-21-2013 12:00 AM

While the main part/body of the emulator is programmed in C++ you need ALWAYS to have the important classes for Dalvik on Android which could always be changed to ART. It could potentialy help devices with less RAM, for example on allocating less memory for some stuff leaving more space for non-latin fonts that take ALOT of RAM. I'm sure the devs could come up with a better idea. Also the idea of AOT compilation sounds intriguing, I was thinking as an idea (maybe just maybe) it could be useful for the (p)re-compilation of MIPS to ARM in some creative way. Instead of some common stuff being recompilated on the fly the could be pre-compiled/ready to execute already (if that makes sense). This would create something like a optimization file though.


RE: Android ART - new opportunity for PPSSPP? - [Unknown] - 11-21-2013 04:23 AM

The most ART could do is make Android generally take less resources away from PPSSPP, e.g. your background tasks written in Java.

For all intents and purposes you should consider PPSSPP to already be "AOT compiled." It is compiled. And this was done ahead of time. Java's jit doesn't apply to PPSSPP, not to its own jit, or anything else.

Applying AOT to PPSSPP is a separate topic, but generally speaking it won't improve FPS within games, at most it could improve startup time slightly. A smarter AOT jit might help, but again, it's completely unrelated to ART which is a jit for Java bytecode afaiu, not for MIPS code.

-[Unknon]


RE: Android ART - new opportunity for PPSSPP? - Grimmer - 11-21-2013 10:14 AM

Thanks for replies Smile. I was just curious how ART could affect an application written in different than java language. Also, emulators are totally diffrent in way they working and no one write anything about ART and emulators relations.
Sorry for any typos and so on Tongue
And I guess that this thread could be closed now.


RE: Android ART - new opportunity for PPSSPP? - vnctdj - 11-21-2013 10:16 AM

(11-21-2013 10:14 AM)Grimmer Wrote:  And I guess that this thread could be closed now.

Closed Wink