Android Ported To C# 351
New submitter Eirenarch writes "Xamarin has just announced that they got the Java part of Android ported to C# via machine translation. The resulting OS, called XobotOS, is available on Github. They claim some serious performance gains over Dalvik. For them, this is an experiment that they are not planning to focus on, but they will be using some of the technologies in Mono for Android."
Re:Android (Score:5, Informative)
1. The Microsoft patent grant for C# is more permissive than the patent grant for Java.
2. Oracle is suing Google over Java right now..
Re:Can I run Android or iOS on my PC? (Score:5, Informative)
Android was ported to x86 a few versions ago.
Re:Can I run Android or iOS on my PC? (Score:2, Informative)
Yes, you can:
http://www.android-x86.org/
http://forum.xda-developers.com/showthread.php?t=1373161
Heck, even Eclipse has an emulator that could do the trick for you.
Re:Can I run Android or iOS on my PC? (Score:5, Informative)
Download the Android SDK [android.com] which contains an Android emulator.
If you have any virtualization software installed, grab an Android x86 ISO image [android-x86.org] and run it in a VM.
The second method gets you higher performance (virtualization vs binary translation), but has major compatibility issues. Any app that contains ARM native code won't work in Android x86 unfortunately.
Re:c# what a lousy name (Score:2, Informative)
Microsoft clearly says it's pronounced C Sharp.
http://msdn.microsoft.com/en-us/library/kx37x362.aspx [microsoft.com]
C# (pronounced "C sharp") is a programming language that is designed for building a variety of applications that run on the .NET Framework. C# is simple, powerful, type-safe, and object-oriented. The many innovations in C# enable rapid application development while retaining the expressiveness and elegance of C-style languages.
-wmbetts
Re:Android (Score:4, Informative)
Wow, where did you get that opinion from? Using a beta version of VS2005? VS2001?. The team I'm in right now is coding Java for Android in NetBeans because Eclipse sucked hard. But coding in C# in Visual Studio 2008/2010 is way better, way more productive. Hell even coding Javascript / HTML in VS2010 is better than this.
Re:Android (Score:4, Informative)
IANAL but unless they did a clean room conversion to C#, then Oracle's patent, if valid, would still apply. In otherwords, if Android is found to infringe on Oracle's IP and they programmers examined the infringing code and converted it to C#, the the C# implimentation still infringes.
Re:Performance improvements indeed (Score:5, Informative)
That's Dalvik, NOT the JVM.
Re:Performance improvements indeed (Score:5, Informative)
That's Dalvik, NOT the JVM.
Whoops, you are correct. Sorry about that.
I wish I could go back and edit the post. Oh well.
steveha
Re:Android (Score:5, Informative)
The (irrevocable, legally binding) promise Microsoft made was not just related to C#, but the .NET framework. So long as it's implemented properly (eg. all elements Microsoft deems "required" for the implementation is implemented), Microsoft will not peruse any legal action on anyone using the technology. That includes the API. The reason Microsoft did this was so people would not be afraid to use it. They want people to use it.
The two situations are not comparable at all. Microsoft would not sue over someone implementing the API.
Re:Android (Score:4, Informative)
Aaa.... No it's not. There is a defensive termination clause(I will be corrected if I'm wrong...) in Microsoft's grant, but not in Oracle's.
There is a termination clause:
I.e. you can sue Microsoft for infringement of your own patents by SQL Server or Windows, but if you sue claiming that one of the specifications/implementations covered under the open specification promise infringes your patents, Microsoft reserved their right to countersue you for infringement of the same specifications.
This is a standard defensive mechanism. Sun/Oracle has one as well:
If you were to rely on these specifications for a product you are building, it actually benefits you that there is a defensive mechanism in there to deter against crippling lawsuits.
So, not much difference. Standard defensive mechanism in the common interest of the users of the products.