News for hackers. Stuff that matters.
Re:Real Men Use Android: Special Forces Favor Google Phone by bhiggins on Friday October 29, 2010 @01:58PM (#1848243)
I still have a problem with using a VM on a phone and having GC on a phone. (I also have a problem with Objective C's function call overhead.)
Re:Real Men Use Android: Special Forces Favor Google Phone by tomjen3 on Friday October 29, 2010 @03:02PM (#1848523)
This isn't hard realtime systems. Nobody is going to die because it takes a few seconds extra for them to download updates (the human brain takes a lot longer to process it anyway).

And JIT compiled java can be faster than native code, even in situations where you would not expect it (such as signal handling code).

Re:Real Men Use Android: Special Forces Favor Google Phone by vetinari on Friday October 29, 2010 @04:12PM (#1848833)
Signal handling code on android phones is not only native, it runs on separate core too.

But your points are true anyway.

Re:Real Men Use Android: Special Forces Favor Google Phone by glhaynes on Friday October 29, 2010 @03:13PM (#1848580)
Why, if the resulting products are performant and capable?
Re:Real Men Use Android: Special Forces Favor Google Phone by bhiggins on Friday October 29, 2010 @04:02PM (#1848785)
drains battery too fast
Re:Real Men Use Android: Special Forces Favor Google Phone by mahmud on Friday October 29, 2010 @02:43PM (#1848439)
Macho. But a phone is exactly where you want a VM. In fact, I would love to be able to push vm images for my phone from my desktop machine. Wake up, plug phone, push image. Security upgrades, new GPS data, my downloaded podcasts, news, emails, etc. I want to be able to come home with a new handset, plug it, and have my "phone" back.
Re:Real Men Use Android: Special Forces Favor Google Phone by regularfry on Friday October 29, 2010 @06:19PM (#1849283)
Totally different use of the term "virtual machine". You're talking about a virtualised execution environment, or hardware virtual machine (as executed by virtualbox, xen or whatever); he's talking about a runtime virtual machine (like the CLR, JVM, or Dalvik).
Re:Real Men Use Android: Special Forces Favor Google Phone by mahmud on Saturday October 30, 2010 @12:26PM (#1851169)
The distinction is negligible on the mobile phone where the the 'runtime VM' takes care of memory allocation for even "native" C code.
Re:Real Men Use Android: Special Forces Favor Google Phone by jlazarow on Friday October 29, 2010 @03:09PM (#1848563)
Pretty sure he meant Dalvik.
Re:Real Men Use Android: Special Forces Favor Google Phone by mahmud on Friday October 29, 2010 @03:22PM (#1848626)
Dalvik is not the only VM on a phone, and Android is not the only phone with a GC, nor is it coded primarily in Objective-C natively.

Pretty sure he was speaking 'in general'.

Re:Real Men Use Android: Special Forces Favor Google Phone by duskwuff on Saturday October 30, 2010 @01:36AM (#1850195)
Have you ever looked at Apple's objc_msgSend implementation? It's pretty fast, really.