Linked by Thom Holwerda on Tue 1st May 2012 21:59 UTC
Mono Project 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#.
Thread beginning with comment 516598
To read all comments associated with this story, please click here.
by schala09 on Tue 1st May 2012 22:21 UTC
Member since:

I'm very surprised to hear this statement:

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#.

First of all, technically speaking, C# is leagues better than Java in many respects, both as a language and an implementation. Some things, like value types, have been strengths of C# since day one. Other things, like generics and lambdas, have been implemented and extended, while Java simply rested on its laurels.

Second, I don't think Microsoft has shown anywhere near as much bad faith towards the developer community as Oracle. Microsoft has submitted every version of C# to ECMA for standardization. There are multiple free (as in speech) C# compilers and runtime implementations, and unlike Oracle (which is actively suing Google), Microsoft has explicitly promised *not* to sue. And even if they did sue, they would have no case against a compiler which strictly implemented the ECMA spec.

So I'm not sure what you're worried about.

Reply Score: 11

RE: C#
by tylerdurden on Tue 1st May 2012 23:28 in reply to "C#"
tylerdurden Member since:

Everybody say "hi" to the Microsoft marketing rep. *waves hand*


Reply Parent Score: 0

RE[2]: C#
by mrstep on Wed 2nd May 2012 02:38 in reply to "RE: C#"
mrstep Member since:

If that's a Microsoft marketing rep, he'll have an easy time. From language features to the libraries, C# has been much nicer than Java for years. It's easy to see how someone could think that Sun/Oracle sat around doing some butt picking and waiting for open source frameworks to fill in the gaping holes in the platform while (poorly) implementing some language features in not quite as nice ways as C# had already done.

I'm not developing on either at the moment, so take that as an un-beholden opinion. No... fact. Take it as a fact. ;)

Reply Parent Score: 2

RE: C#
by tidux on Wed 2nd May 2012 02:15 in reply to "C#"
tidux Member since:

I think people are forgetting it's only the Windows API hooks in Mono that are a legal gray area. Maybe they're worried that MS patented some stuff in WP7 that could bite a C# phone OS in the ass?

Reply Parent Score: 1

RE: C#
by ndrw on Wed 2nd May 2012 07:27 in reply to "C#"
ndrw Member since:

These two languages are nearly identical (on purpose), so speaking that one is "miles ahead" of the other is, well, inaccurate.

There are some differences between them but vast majority of the language (including tools, runtime, libraries) is based on the same ideas.

Reply Parent Score: 2