Results 1 to 16 of 16

Thread: News - Google Android ported from Java to C# and it's blazing

  1. #1
    HEXUS.admin
    Join Date
    Apr 2005
    Posts
    31,709
    Thanks
    0
    Thanked
    2,073 times in 719 posts

    News - Google Android ported from Java to C# and it's blazing

    Large portions of Android's source-code ported by Mono developer, Xamarin.
    Read more.

  2. #2
    Registered+
    Join Date
    Oct 2011
    Posts
    63
    Thanks
    0
    Thanked
    1 time in 1 post
    • 13thmonkey's system
      • Motherboard:
      • P5B DL WiFi
      • CPU:
      • Q9550
      • Memory:
      • 6GB PC6400
      • Storage:
      • F120, WD 500GB RE4, + 5TB of WHS storage
      • Graphics card(s):
      • GTX 470
      • PSU:
      • S12-600
      • Case:
      • P180B
      • Operating System:
      • win7 64
      • Monitor(s):
      • 24"-2048x1152 22"-1050X1680 portrait

    Re: News - Google Android ported from Java to C# and it's blazing

    got be to some battery savings in those kinds of performance increases.

  3. #3
    Senior Member
    Join Date
    Dec 2008
    Posts
    528
    Thanks
    23
    Thanked
    42 times in 35 posts

    Re: News - Google Android ported from Java to C# and it's blazing

    Quote Originally Posted by 13thmonkey View Post
    got be to some battery savings in those kinds of performance increases.
    Xamarin claims there is for sure.

  4. #4
    Senior Member Hicks12's Avatar
    Join Date
    Jan 2008
    Location
    Plymouth-SouthWest
    Posts
    6,586
    Thanks
    1,070
    Thanked
    340 times in 293 posts
    • Hicks12's system
      • Motherboard:
      • Asus P8Z68-V
      • CPU:
      • Intel i5 2500k@4ghz, cooled by EK Supreme HF
      • Memory:
      • 8GB Kingston hyperX ddr3 PC3-12800 1600mhz
      • Storage:
      • 64GB M4/128GB M4 / WD 640GB AAKS / 1TB Samsung F3
      • Graphics card(s):
      • Palit GTX460 @ 900Mhz Core
      • PSU:
      • 675W ThermalTake ThoughPower XT
      • Case:
      • Lian Li PC-A70 with modded top for 360mm rad
      • Operating System:
      • Windows 7 Professional 64bit
      • Monitor(s):
      • Dell U2311H IPS
      • Internet:
      • 10mb/s cable from virgin media

    Re: News - Google Android ported from Java to C# and it's blazing

    interesting... I hope they manage to do this as id prefer to keep to C# rather than java and it already seems to be more beneficial in performance!
    Quote Originally Posted by snootyjim View Post
    Trust me, go into any local club and shout "I've got dual Nehalem Xeons" and all of the girls will practically collapse on the spot at the thought of your e-penis

  5. #5
    Senior Member
    Join Date
    Jun 2004
    Location
    Kingdom of Fife (Scotland)
    Posts
    4,991
    Thanks
    393
    Thanked
    220 times in 190 posts
    • crossy's system
      • Motherboard:
      • ASUS Sabertooth X99
      • CPU:
      • Intel 5830k / Noctua NH-D15
      • Memory:
      • 32GB Crucial Ballistix DDR4
      • Storage:
      • 500GB Samsung 850Pro NVMe, 1TB Samsung 850EVO SSD, 1TB Seagate SSHD, 2TB WD Green, 8TB Seagate
      • Graphics card(s):
      • Asus Strix GTX970OC
      • PSU:
      • Corsair AX750 (modular)
      • Case:
      • Coolermaster HAF932 (with wheels)
      • Operating System:
      • Windows 10 Pro 64bit, Ubuntu 16.04LTS
      • Monitor(s):
      • LG Flattron W2361V
      • Internet:
      • VirginMedia 200Mb

    Re: News - Google Android ported from Java to C# and it's blazing

    Do this writer's eyes deceive him or does C# Mono severely trounce Java Dalvik?
    If that graph is to be believed then that's surely about a six-fold increase in potential performance with moving from Java to Mono. Holy hauling it batman!
    perhaps Google, will take note of the firm's progress
    Hmm, if Google have any sense then they should be watching Xamarin VERY closely. If C# can deliver that kind of increase across the board then that's got to be a convincing reason to switch by itself (flipping the bird to Oracle being another good reason).

    Got to wonder what Microsoft's take on this would be - if I was in the C# team in Redmond I think I'd be helpless on the floor with laughter or shouting "see, I told you so, Java sux!"

    So how long before we get "Android - better powered by .NET!" ads from Microsoft!

    Career status: still enjoying my new career in DevOps, but it's keeping me busy...

  6. #6
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

    Re: News - Google Android ported from Java to C# and it's blazing

    Quote Originally Posted by crossy View Post
    Got to wonder what Microsoft's take on this would be - if I was in the C# team in Redmond I think I'd be helpless on the floor with laughter or shouting "see, I told you so, Java sux!"
    The biggest issue is Dalvik sucks. Oracle's Java VM, Hotspot, is faster than Mono - uses buckets more RAM, but is faster. But since Google NIH'd Dalvik, and Dalvik is crap (read: very young and immature compared to everything else) it's not hard for Mono to trounce it.

  7. #7
    Senior Member Hicks12's Avatar
    Join Date
    Jan 2008
    Location
    Plymouth-SouthWest
    Posts
    6,586
    Thanks
    1,070
    Thanked
    340 times in 293 posts
    • Hicks12's system
      • Motherboard:
      • Asus P8Z68-V
      • CPU:
      • Intel i5 2500k@4ghz, cooled by EK Supreme HF
      • Memory:
      • 8GB Kingston hyperX ddr3 PC3-12800 1600mhz
      • Storage:
      • 64GB M4/128GB M4 / WD 640GB AAKS / 1TB Samsung F3
      • Graphics card(s):
      • Palit GTX460 @ 900Mhz Core
      • PSU:
      • 675W ThermalTake ThoughPower XT
      • Case:
      • Lian Li PC-A70 with modded top for 360mm rad
      • Operating System:
      • Windows 7 Professional 64bit
      • Monitor(s):
      • Dell U2311H IPS
      • Internet:
      • 10mb/s cable from virgin media

    Re: News - Google Android ported from Java to C# and it's blazing

    problem with using Hotspot is the fact they would actually need to give money to Oracle and we know Oracle dont like Google so it wouldnt be a small sum! C# would be free, it would nullify the Oracle lawsuit (at least if they agree on a fine it wont continue increasing) so android could benefit greatly. It will be an interesting development for sure, we will just have to wait and see if it really does bring tangible benefits with it
    Quote Originally Posted by snootyjim View Post
    Trust me, go into any local club and shout "I've got dual Nehalem Xeons" and all of the girls will practically collapse on the spot at the thought of your e-penis

  8. Received thanks from:

    nichomach (03-05-2012)

  9. #8
    Senior Member
    Join Date
    Dec 2008
    Posts
    528
    Thanks
    23
    Thanked
    42 times in 35 posts

    Re: News - Google Android ported from Java to C# and it's blazing

    Quote Originally Posted by Hicks12 View Post
    problem with using Hotspot is the fact they would actually need to give money to Oracle and we know Oracle dont like Google so it wouldnt be a small sum! C# would be free, it would nullify the Oracle lawsuit (at least if they agree on a fine it wont continue increasing) so android could benefit greatly. It will be an interesting development for sure, we will just have to wait and see if it really does bring tangible benefits with it
    If oracle forces them to pay licensing, least they can do if throw in some optimisations =P

  10. #9
    . bledd's Avatar
    Join Date
    Jul 2003
    Posts
    1,886
    Thanks
    22
    Thanked
    135 times in 85 posts

    Re: News - Google Android ported from Java to C# and it's blazing

    Does this mean current Android devices could be moved to the new platform?

    Always hated Java, every Java program in Windows is slow, clunky and backwards

  11. #10
    Senior Member
    Join Date
    Jun 2004
    Location
    Kingdom of Fife (Scotland)
    Posts
    4,991
    Thanks
    393
    Thanked
    220 times in 190 posts
    • crossy's system
      • Motherboard:
      • ASUS Sabertooth X99
      • CPU:
      • Intel 5830k / Noctua NH-D15
      • Memory:
      • 32GB Crucial Ballistix DDR4
      • Storage:
      • 500GB Samsung 850Pro NVMe, 1TB Samsung 850EVO SSD, 1TB Seagate SSHD, 2TB WD Green, 8TB Seagate
      • Graphics card(s):
      • Asus Strix GTX970OC
      • PSU:
      • Corsair AX750 (modular)
      • Case:
      • Coolermaster HAF932 (with wheels)
      • Operating System:
      • Windows 10 Pro 64bit, Ubuntu 16.04LTS
      • Monitor(s):
      • LG Flattron W2361V
      • Internet:
      • VirginMedia 200Mb

    Re: News - Google Android ported from Java to C# and it's blazing

    Quote Originally Posted by directhex View Post
    The biggest issue is Dalvik sucks. Oracle's Java VM, Hotspot, is faster than Mono - uses buckets more RAM, but is faster. But since Google NIH'd Dalvik, and Dalvik is crap (read: very young and immature compared to everything else) it's not hard for Mono to trounce it.
    Hmm, Hotspot and Dalvik are designed for different audiences - Dalvik's always claimed that memory efficiency was #1. So while Android probably deserves a "better" JVM, Hotspot isn't it. From what I've seen Mono is only 4ish years older than Dalvik, not a huge amount I guess, but significant in this market.

    I'm not sure you meant that Google applied not-invented-here to Dalvik, believing that you meant that Google chose Dalvik because it was "their" solution. That said, the less Oracle stuff I have, the better I like it - only use VirtualBox because there's no real alternatives atm.

    Good though that you make the distinction between software that is crap because it's intrinsically poor, and stuff that's just underdeveloped. That's a fine point that a lot of people forget. E.g. OpenOffice is crappy, which is why I'd argue that the much tweaked LibreOffice fork is always "better".

    As to Dalvik itself, again a good point you make - Dalvik may be pretty hopeless at the moment, but I'm sure that Google are spending considerable resources trying to make it better. I certainly remember the big jump in performance between Android 1.6 and 2.2 - pretty much attributed to "better" Dalvik.

    Still think that if there's tricks that Xamarin are playing to get their performance level then Google should try and license, etc.

    Career status: still enjoying my new career in DevOps, but it's keeping me busy...

  12. #11
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,168
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts

    Re: News - Google Android ported from Java to C# and it's blazing

    Quote Originally Posted by directhex View Post
    The biggest issue is Dalvik sucks. Oracle's Java VM, Hotspot, is faster than Mono - uses buckets more RAM, but is faster. But since Google NIH'd Dalvik, and Dalvik is crap (read: very young and immature compared to everything else) it's not hard for Mono to trounce it.
    Glad someone else pointed this out.

    This isn't a Java sucks thing, its a Dalvik, a major core component of Andriod sucks.

    However the dev does make a good point, if they choose to leverage the free mono framework, they could get some significant gains and end their legal woes.
    throw new ArgumentException (String, String, Exception)

  13. #12
    Registered User
    Join Date
    Mar 2004
    Posts
    16
    Thanks
    0
    Thanked
    1 time in 1 post

    Re: News - Google Android ported from Java to C# and it's blazing

    Always thought how unfair the processor benchmarks were comparing Android handsets to iPhones (don't consider OS overhead).

    Explains why Qualcomm, Samsung, Nvidia and TI have appeared so far behind in CPU performance to Apple (who got their ARM tech from purchasing a couple of no-one's heard of CPU design companies). Put simply iOS is more efficient than Android/Dalvik.

    Now wonder what those benchmarks would show given a better Java VM?

  14. #13
    Registered+
    Join Date
    Apr 2012
    Location
    West Midlands
    Posts
    46
    Thanks
    4
    Thanked
    4 times in 3 posts
    • Kryloch's system
      • Motherboard:
      • Asus P8H67 R3 H67
      • CPU:
      • Intel Core i5 2500
      • Memory:
      • Corsair 8GB XMS3 1333Mhz
      • Storage:
      • Seagate 1TB Barracuda
      • Graphics card(s):
      • PowerColor HD 6870
      • PSU:
      • OCZ Fatal1ty Series 550W
      • Case:
      • Bitfenix Merc Alpha
      • Operating System:
      • Windows 7 64 bit
      • Monitor(s):
      • LG IPS235V

    Re: News - Google Android ported from Java to C# and it's blazing

    I'm really hoping that C# takes more ground overall. While Java has its uses, I just personally prefer working with C#, it just feels more comfortable to work with. Even though in truth they are similar in structure to a point.

    Though as it has been stated this current advantage could just be due to the stage of development in each package.

  15. #14
    Member
    Join Date
    May 2012
    Location
    east java
    Posts
    110
    Thanks
    42
    Thanked
    6 times in 6 posts
    • jackjack's system
      • Motherboard:
      • MSI B550 Gaming Plus
      • CPU:
      • Ryzen 3600
      • Memory:
      • VColor 8GBx2 DDR4 3600MHz
      • Storage:
      • SK Hynix SSD 1TB
      • Graphics card(s):
      • Asus Dual GeForce RTX 2060 OC
      • PSU:
      • CORSAIR CX550F RGB 550 Watt
      • Case:
      • Corsair 900D
      • Operating System:
      • windows 10 64 bit
      • Monitor(s):
      • AOC 27G2

    Re: News - Google Android ported from Java to C# and it's blazing

    hopefully sum members kindly share it with us his personal review. it would be use full enough info for us to see how much does this new platform (me is a noob obviously) boost up our gadget

  16. #15
    Senior Member
    Join Date
    Jun 2004
    Location
    Kingdom of Fife (Scotland)
    Posts
    4,991
    Thanks
    393
    Thanked
    220 times in 190 posts
    • crossy's system
      • Motherboard:
      • ASUS Sabertooth X99
      • CPU:
      • Intel 5830k / Noctua NH-D15
      • Memory:
      • 32GB Crucial Ballistix DDR4
      • Storage:
      • 500GB Samsung 850Pro NVMe, 1TB Samsung 850EVO SSD, 1TB Seagate SSHD, 2TB WD Green, 8TB Seagate
      • Graphics card(s):
      • Asus Strix GTX970OC
      • PSU:
      • Corsair AX750 (modular)
      • Case:
      • Coolermaster HAF932 (with wheels)
      • Operating System:
      • Windows 10 Pro 64bit, Ubuntu 16.04LTS
      • Monitor(s):
      • LG Flattron W2361V
      • Internet:
      • VirginMedia 200Mb

    Re: News - Google Android ported from Java to C# and it's blazing

    Quote Originally Posted by adam.mt View Post
    Explains why Qualcomm, Samsung, Nvidia and TI have appeared so far behind in CPU performance to Apple (who got their ARM tech from purchasing a couple of no-one's heard of CPU design companies). Put simply iOS is more efficient than Android/Dalvik.
    You've forgotten the point directhex makes above - iOS is "better" at the moment because it's had more development time, Dalvik is still a toddler in comparison. Every new Android version seems to deliver improvements in this area, so performance/efficiency has not been overlooked.

    That said, I'd be a whole lot happier if Android actually was able to "borrow" ( ) something from iOS in that some core components were pushed out from Google directly. In the case of Dalvik that'd make it far easier for new and better versions of that critical component to be delivered to everyone. The current scheme where you're totally reliant on the phone manufacturer, and the best you can expect is to get one major version update and then you're expected to buy a new device is a piece of nonsense imho.

    Hopefully (fingers crossed) this Ximian stuff will force Google management to throw extra resource at Dalvik development and we'll see a big jump in efficiency with the next ICS upgrade, or even JB, (being selfish I figure whatever phone I buy this year - if it's a 2012 model should ship with ICS and get JB later).

    Being rude, if Google don't continue to optimise Dalvik then they deserve to fail and might as well hand majority share of the smartphone market to Apple.
    Last edited by crossy; 06-05-2012 at 12:04 PM.

    Career status: still enjoying my new career in DevOps, but it's keeping me busy...

  17. #16
    Registered+
    Join Date
    May 2012
    Posts
    20
    Thanks
    0
    Thanked
    2 times in 2 posts

    Re: News - Google Android ported from Java to C# and it's blazing

    I came into Android late, JB, but I have not considered it slow in comparison to mates phones I have used. The battery life is the real killer for me atm, HTC Desire HD, a day if I actually use the phone, 2 days if I dont use it :-(

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •