News for hackers. Stuff that matters.
Re:Android doesn't use the GPU for its UI by dkarl on Sunday September 12, 2010 @02:01PM (#1684174)
I bet Android has a lot of room to improve not just by improving garbage collection but by decreasing garbage creation. The compiler can do a lot of optimizations to reuse objects instead of allocating new ones. I don't know what the state of the Android JIT is, but Sun's JIT took many years to incorporate some basic-seeming optimizations.

One thing that could be done in the meantime is to rewrite performance-sensitive Android UI code in a way that eliminates object allocation. In Java this would result in horrifying code, but it might be worth it, and they wouldn't necessarily have to use Java.

Re:Android doesn't use the GPU for its UI by blasdel on Sunday September 12, 2010 @07:39PM (#1684877)
Android's Dalvik VM has only had a JIT for 4 months (shipped in 2.2)

Hilariously enough, they started using V8 in 2.0 a year ago — so in 2.0 and 2.1, Javascript is JIT-ed but Java isn't!