哇!“开发组在吃饭间冒出的一个疯狂的想法,是
将Android的源码翻译到C#。 Android将会从C#的性能特性如结构体(structures)、P/调用(P/Invoke)、真实泛型(real generics )以及我们更加成熟的运行时等中受益。[...]它如此疯狂,我们决定尝试。于是我们开始了一个小型的专案工作组项目,致力于做一个从Android到 C#的机器翻译工作。我们称这一项目为XobotOS。”Android大部分的布局和控件现在都在C#中做好了。基准测试显示结果十分好,但是与我对这 份工作的欣赏程序相同的,是我对这一工作的担忧,就像事情从不好到更不好——从甲骨文的Java到微软的C#!
![Android 移植到C# Android 移植到C#](http://www.linux-ren.org/data/attachment/forum/201205/02/150441gtcvtst93ffg7v8l.jpg)
转载请注明:Linux人社区>
英文资讯翻译专版.编译
英文原文:
Android ported to C#
posted by
Thom Holwerda on Tue 1st May 2012 21:59 UTC
![](http://www.osnews.com/images/icons/64.gif)
Wow. "One crazy idea that the team had at that dinner was to
translate Android's source code to C#. Android would benefit from C# performance features like structures, P/Invoke, real generics and our more mature runtime. [...] We decided it was crazy enough to try. So we started a small skunkworks project with the goal of doing a machine translation of Android from Java to C#. We called this project XobotOS." Most of Android's layouts and controls are now in C#. The small benchmark is stunning, but as much as I admire the work, I'm wondering that this like going from bad to worse - from Oracle's Java to Microsoft's C#.