Sony Ericsson to introduce Android 3.0 gaming platform & PSP Go-like smartphone
engadget.com
engadget.com
Currently, the Garbage Collector in Dalvik is a total piece of shit. When the GC runs, your game can freeze for up to 100-200ms, totally kills the gaming experience. What most developers who code in Java does is to use object pool and manage memory manually, its a huge pain in the butt.
If you are a C++ developer using the NDK, you are in for a world of pain as well, you can't control EGL context from C++, you can't receive events, can't play/mix sound, can't access assets (easily). To do all of these, you are stuck with using a JNI layer, which just decrease performance.
On top of that, current devices with similar hardware specs (1ghz snapdragon, wvga screen) are all fill-rate limited to 30fps.
How is this different from C++? Oh yeah, instead of objects you get "big blocks of RAM".
Fortunately, there has been plenty of research on GCs that are fast enough for games. So the solution is to use one of those for Android, now that people are actually interested in writing games.
A better GC was already mentioned by the OP as another option.
I'm not too familiar with it, so here's a few links:
Here's a post which attempts to walk through some RenderScript sample code: http://www.inter-fuser.com/2009/11/android-renderscript-more...
Here's a mention of it on Guy Romain's blog http://www.curious-creature.org/2010/01/07/nexus-one-live-wa...
Or maybe I'm just jaded by the constant highlighting of every non-"open" thing done on the Android platform as if every iPhone owner on the planet has suddenly become more extreme than RMS in their defence of software freedom. (disclosure: I own an iPhone but think Free Software is cool, useful and socially important, and RMS is usually right in most areas outside of marketing and PR tactics)
mine is still in the mail, so cant really vouch for it.
I'd also prefer to be playing PSP-quality games rather than the many atrocious pay-for-flash games you can play for free online . . . but not on an iPhone/Pad because it doesn't support flash.
Edit: I remember saying this before, why can my PSP do flash but an iPad can't . . . well I guess this is my answer, a phone in a PSP.
My old W810i was the most dependable phone ever. I dropped that thing so many times, one time out of a first floor window onto concrete. Barely a scratch. I went on a five day trip without a charger. No problem. Gave it to one of my friends and he's still using it years later.
It was there for me through thick and thin. Today's smartphones can't hold a charge past dinner time.
(Edit: Mahmud, yeah I now remember the dodgy proprietary connector. That was a terrible idea.)
I had a tiny pin break off and the whole thing was rendered useless. Also, a year into it the battery started dying within a few hours of full charge.
I really loved walking into my apartment, throwing the phone on the couch and having music play through my boombox, but a year into it the thing felt dated.
* rugged nature: Most of Sony Ericsson's newer phones have been thinner and have bigger screens. This makes it easier for them to break when dropped.
* long battery life: The W810i was not a smartphone. Its web browser sucked, and it only had EDGE. The lack of constant data transfer, combined with a small screen, undoubtedly helped battery life.
I am not saying that the W810i was not a good phone for its time, but rather that it was not made to deal with the modern mobile landscape of real-time status updates, push email, and monthly OTA firmware upgrades. SE phones are falling down now because they have unusable user interfaces, are based on obsolete software versions, or are just plain buggy. The W810i was stable, but it also never needed to be upgraded.
I still kinda want one just for the gaming controls. If it's possible to replace Android with a GNU/Linux distribution (like Meego), this could be a replacement with no downsides. It's too bad that Nokia is unlikely to attempt this after their N-Gage embarrassment.
New features in Xperia Software Update 3.41:
Due to security concerns, and to ensure access to next generation gaming content, the [Android OS] option in Xperia Software has been disabled. Users who still wish to access [Android OS] can choose to stay with software 3.40, but they will lose the capability to sign in to PSN or access games and movies designed for 3.41 or above.