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 516635
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: I'm disappointed
by Valhalla on Wed 2nd May 2012 02:18 UTC in reply to "RE: I'm disappointed"
Valhalla
Member since:
2006-01-24

Vala is tied to the GObject system and is pretty far from a drop in replacement,

It was quite some time ago I looked at Vala but unless I'm mistaken you could write a Vala program without using GObject and also add bindings to any library you wish (either straight up bindings or 'objectifying' using a VAPI file).

As I recall the biggest difference is that there's no full-blown GC but only reference counting and that Vala compiles to C and then to native code.

The only Vala program I've used is Shotwell and that is indeed great, certainly way more performant than F-spot was (although I can't say for sure if that is a question of Vala vs Mono or a matter of the the skill of the actual programmers).

Reply Parent Score: 3

RE[3]: I'm disappointed
by henderson101 on Wed 2nd May 2012 09:18 in reply to "RE[2]: I'm disappointed"
henderson101 Member since:
2006-05-30

Vala is an object-oriented programming language with a self-hosting compiler that generates C code and uses the GObject system.


That pretty much is what I remember. Vala was also extremely tied to Linux and very hard to build on other platforms. I remember the Windows port being hard to get set up and pretty useless due to the ties to GObjects and GNOME. As this brings in a super large dependency to Android, you must be able to see that using a more platform agnostic compiler makes more sense?

Reply Parent Score: 2