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.
[ Parent
| on HN ]
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.