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 516787
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: Comment by snorkel1
by Rugxulo on Wed 2nd May 2012 20:10 UTC in reply to "RE: Comment by snorkel1"
Member since:

Pascal is a compiled language with no garbage collection. C# is a garbage collected language that targets a VM. Yes, I can see why they are exactly the same.

FPC now has optional JVM target support. Also, don't forget that Pascal's cousin, Oberon, does have garbage collection. So it's not that far of a stretch.

"and I have Generics etc.

No, you have "kinds of generics". The FreePascal version is more like templates (and depending on compiler build can be quite broken in my experience) and the Delphi version depends on which flavour you mean.

I could be wrong, but I think FPC now supports both kinds of generics (their own and the Delphi variant).

Reply Parent Score: 1