Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
android ported to c#
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Off the Wall
View previous topic :: View next topic  
Author Message
marens
Apprentice
Apprentice


Joined: 05 Aug 2004
Posts: 172

PostPosted: Tue May 01, 2012 10:58 pm    Post subject: android ported to c# Reply with quote

http://blog.xamarin.com/2012/05/01/android-in-c-sharp/ wtf!?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16033
Location: Colorado

PostPosted: Tue May 01, 2012 11:38 pm    Post subject: Reply with quote

CYA?
_________________
lolgov. 'cause where we're going, you don't have civil liberties.

In Loving Memory
1787 - 2008
Back to top
View user's profile Send private message
Prenj
n00b
n00b


Joined: 20 Nov 2011
Posts: 8
Location: Mostar, BiH

PostPosted: Wed May 02, 2012 6:33 am    Post subject: Reply with quote

This looks awesome
Back to top
View user's profile Send private message
djdunn
l33t
l33t


Joined: 26 Dec 2004
Posts: 619
Location: Under the moon and all the stars in the sky.

PostPosted: Wed May 02, 2012 2:14 pm    Post subject: Reply with quote

im a big user of android so... you know...

...

...

i don't really know what to say, im not a fan of java, i dont think this will ever be mainstream tho, i dont really see google picking this up really, they are far too invested with java in android
_________________
Now, with penguins, (cuddly such), "contented" means it has either just gotten laid, or it's stuffed on herring. Take it from me, I'm an expert on penguins, those are really the only two options.

--Linus Torvalds
Back to top
View user's profile Send private message
Dr.Willy
Apprentice
Apprentice


Joined: 15 Jul 2007
Posts: 296
Location: NRW, Germany

PostPosted: Wed May 02, 2012 3:40 pm    Post subject: Reply with quote

Reality check: Google wanted Java. They even went as far as writing their own fucking VM for it.
If they wanted C#/Mono they would've supported it's development. Or bought Novell. Or developed their own VM for it.
They didn't.
Back to top
View user's profile Send private message
aidanjt
Veteran
Veteran


Joined: 20 Feb 2005
Posts: 1101
Location: Rep. of Ireland

PostPosted: Wed May 02, 2012 3:46 pm    Post subject: Reply with quote

Dr.Willy wrote:
Reality check: Google wanted Java. They even went as far as writing their own fucking VM for it.
If they wanted C#/Mono they would've supported it's development. Or bought Novell. Or developed their own VM for it.
They didn't.

The Xamarin gang have no interest in reality. Just infesting OSS with their useless junk.
_________________
juniper wrote:
you experience political reality dilation when travelling at american political speeds. it's in einstein's formulas. it's not their fault.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 6594
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed May 02, 2012 4:13 pm    Post subject: Reply with quote

WTF? No. More like, meh.

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
jdhore
Developer
Developer


Joined: 13 Apr 2007
Posts: 105

PostPosted: Wed May 02, 2012 5:44 pm    Post subject: Reply with quote

I read this yesterday and basically went: "Holy hell! Look at that performance chart! WANT! GIVE ME NOW!"

Now that the excitement from seeing a performance difference that big has worn off, I had 2 realizations.

1. I'm fairly sure that at some point someone will show that the Java benchmarks are bad code and written CORRECTLY, Java performs much better than it shows currently. It's currently Java written by C# developers...If it was written by someone with a ton more experience in Java...Yeah.

2. How do we know they didn't choose benchmarks that Mono/C# is particularly good at and Java is not so good at especially considering that only 3 algorithms were benchmarked?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16033
Location: Colorado

PostPosted: Wed May 02, 2012 11:42 pm    Post subject: Reply with quote

Dr.Willy wrote:
Reality check: Google wanted Java. They even went as far as writing their own fucking VM for it.
If they wanted C#/Mono they would've supported it's development. Or bought Novell. Or developed their own VM for it.
They didn't.
Isn't that what the case vs. Oracle is all about? Whether or not they did develop a "clean room" version and whether or not that is sufficient? Seems unlikely to be an issue now, but we'll see. The likely cost of any loss in the suit is probably too small to induce that major a change.
_________________
lolgov. 'cause where we're going, you don't have civil liberties.

In Loving Memory
1787 - 2008
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1205
Location: Jefferson, USA

PostPosted: Thu May 03, 2012 12:18 am    Post subject: Reply with quote

So did they build a IL to Dalvik assembler?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16033
Location: Colorado

PostPosted: Thu May 03, 2012 1:46 am    Post subject: Reply with quote

IL?

From the coverage I've read on the case, the Google exec (Page?) claimed they developed a clean room implementation of Java because they couldn't come to agreeable terms with Sun. So if they have Davlik, and a clean room Java, they've bypassed the official language. And since they aren't claiming (that I've seen) it to be compatible with Java, it seems they should be in the clear.

They ought to call it Guava, using the G in the font of Google.
_________________
lolgov. 'cause where we're going, you don't have civil liberties.

In Loving Memory
1787 - 2008
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1205
Location: Jefferson, USA

PostPosted: Thu May 03, 2012 2:36 am    Post subject: Reply with quote

IL is Intermediate Language. It's .NET's bytecode format.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16033
Location: Colorado

PostPosted: Thu May 03, 2012 3:27 am    Post subject: Reply with quote

Ah, don't recall seeing that acronym.

As Dalvik is the equivalent of the JVM, it does use bytecode.

Quote:
Programs are commonly written in Java and compiled to bytecode. They are then converted from Java Virtual Machine-compatible .class files to Dalvik-compatible .dex (Dalvik Executable) files before installation on a device.


https://en.wikipedia.org/wiki/Dalvik_%28software%29
_________________
lolgov. 'cause where we're going, you don't have civil liberties.

In Loving Memory
1787 - 2008
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1205
Location: Jefferson, USA

PostPosted: Thu May 03, 2012 4:55 am    Post subject: Reply with quote

I would kill to be able to write Android apps in C#.
Back to top
View user's profile Send private message
Dr.Willy
Apprentice
Apprentice


Joined: 15 Jul 2007
Posts: 296
Location: NRW, Germany

PostPosted: Thu May 03, 2012 7:47 am    Post subject: Reply with quote

wswartzendruber wrote:
So did they build a IL to Dalvik assembler?

No, they ported Mono to Android.
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1205
Location: Jefferson, USA

PostPosted: Thu May 03, 2012 3:35 pm    Post subject: Reply with quote

It looks like they're using LLVM for this. If so, that could explain something.
Back to top
View user's profile Send private message
jdhore
Developer
Developer


Joined: 13 Apr 2007
Posts: 105

PostPosted: Thu May 03, 2012 5:25 pm    Post subject: Reply with quote

wswartzendruber wrote:
It looks like they're using LLVM for this. If so, that could explain something.


Unlikely. If they were testing it against Android 4.0 for sure (and possibly Android 3.x, but no one knows about 3.x since it's closed-source), Android now uses LLVM as well so...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Off the Wall All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum