News for hackers. Stuff that matters.
Re:Android Ported to C# by sosuke on Tuesday May 01, 2012 @05:19PM (#3916414)
Do those benchmarks suggest that XobotOS is faster for those metrics than vanilla Android? That seems like a very large performance gain, and I already wonder what the performance on a device would be like.
Re:Android Ported to C# by jlawer on Tuesday May 01, 2012 @05:37PM (#3916492)
Yeah, but this was 1 synthetic benchmark, which heavily uses 2 features they made a point about being significantly faster. The real question is what is the difference between dalvik and mono on more balanced applications. I expect we are talking closer to 10% difference then the order of magnitude their benchmark shows.
Re:Android Ported to C# by migueldeicaza on Tuesday May 01, 2012 @05:43PM (#3916514)
It really depends on the program load. In general, Mono is just a more mature VM than Dalvik is, so it is rare for Dalvik to match Mono (although there are a couple of cases where it matches it).

The other problem is that Dalvik uses a model that limits the amount of memory your app can use, so most of the heavy duty tests could not be ran to compare the apps, since Dalvik would crash with an out of memory condition while Mono does not impose this limit.

Dalvik has also other ugly limitations, like their GC being suspended whenever a JNI invocation is taking place.

Re:Android Ported to C# by Zigurd on Tuesday May 01, 2012 @07:33PM (#3916828)
Your mileage may vary.

Myriad had been trying to sell their own VM as a "turbo" Dalvik, but, so far, no takers, that I know of, among handset OEMs.

The thing is that Dalvik balances performance and battery life by aiming for fast interpretation plus minimal JIT compilation.

One could easily show that the Oracle VM would trounce Dalvik at computation benchmarks, since it is aiming for best possible performance using a very sophisticated JIT compiler. But I suspect getting the Oracle VM to not suck your battery dry would be a challenge.

Re:Android Ported to C# by shadowmint on Tuesday May 01, 2012 @09:02PM (#3917129)
To be fair, they didn't open source theirs and make it available for people to play with.