Android being translated into C#

As we all know with the Android law-suits with Oracle vs Google on the whole Java issue, some clever people thought that instead, just port all of the Android code automatically to C#. And, they’re getting there!

Basically, they take the Android AOSP code then pull it through a tool they have helped develop called “Sharpen” which translates Java code to C# and the results are amazing. While only some of the Android code is physically working without Java at all, it’s a great start and hopefully seeing this on low-end devices can speed things up a little.

A little more on the technical side, the way Android runs Java through the Dalvik virtual machine is fairly efficient, but using Java limits you severely by it’s design and complexity, slowing down execution everywhere. While Android appears to do a fairly good job, it doesn’t do it as well as it could do with Oracle’s efforts (if it wanted to put them in).

To make this clearer, here’s a graph from the people behind the project showing performance:

As you can see, clearly using the C# (Mono as it’s displayed on the graph) is faster. However, there’s still a while to go which if you want to have a look or even help out check out the link in the source. There’s a lot more technical information over there too!

Source


I'm Joe and I'm an App Developer and just a general geek who likes to try new thing but make sure they work well for the majority of people and not just geeks. Here at Land Of Droid, I'll be posting some cool apps that I find out and about the web!

Share This Post

Related Articles

  • Kalgecin

    Why not c++ ?

    • http://profiles.google.com/gregorypierce Gregory Pierce

      Why not Visual Basic.net!

      • Anonymous

        Why not !

        • Anonymouse

          Because Java is a mobile platform!

  • Otong

    Why not Ruby or Python or even JavaScript ?? then natively (like JNI or P/Invoke like C# do ) call machine code (ASM)

  • http://twitter.com/JaroslavHolan Jaroslav Holaň

    And what about Microsoft? Will they agree with that? Who will pay Microsoft a license for using? It can be just a new dispute Google vs. Microsoft.

    • http://www.itoctopus.com/ itoctopus

       Out of the frying pan and into the fire!

      It’s better for Google if they invent a totally new language.

    • Travis Spencer

      Educate me…why would anyone have to pay Microsoft for this?