SageTV Community  

Go Back   SageTV Community > General Discussion > The SageTV Community
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

The SageTV Community Here's the place to discuss what's worth recording, HTPC deals at retail stores, events happening outside of your home theater, and pretty much anything else you'd like. (No For-Sale posts)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-05-2012, 08:19 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Android ported to .Net

I find this very interesting. In particular because SageTV is also written in Java too..

https://github.com/xamarin/XobotOS
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #2  
Old 05-05-2012, 09:17 AM
Fonceur's Avatar
Fonceur Fonceur is offline
Sage Icon
 
Join Date: Jan 2008
Location: DDO, QC
Posts: 1,915
Well, there has already been an Android x86 for a long time, and this project is about porting Android 4.0 to C#... So I'm not sure what is interesting about it in the context of SageTV...
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API
MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC
TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device
TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2
TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad
Reply With Quote
  #3  
Old 05-05-2012, 10:55 AM
reggie14 reggie14 is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Maryland
Posts: 2,760
Well, this is pretty different than porting an OS and applications that are written in a high-level language to a different instruction set. Although, conceptually there are some similarities.

I'm not sure what to make of this. I think the main conclusion to draw from this is that Android's Dalvik is pretty bad. There's no reason that c# code should be inherently any faster than Java code. In fact, I think you'd ordinarily expect code to run slower after automatically translated to another language/bytecode.

This approach probably wouldn't be very useful on platforms with better Java VMs. But it does indicate Android performance could be much improved with addtional optimizations to Dalvik. But, I'm increasingly convinced that the number of Android developers at Google is astonishingly small.
Reply With Quote
  #4  
Old 05-06-2012, 09:12 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Android's base on Java is it's biggest hindrance in my mind. It's just NOT a modern language. .net is just that much better in every way. The way the CLR works is just so much smoother and more versatile (compatibility AND scalability) than the bytecode/dalvik system. The only advantage java had over .net, is there were far more java programmers out there when android was developing than .net - but that is rapidly changing.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #5  
Old 05-06-2012, 09:47 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Quote:
Originally Posted by Fonceur View Post
Well, there has already been an Android x86 for a long time, and this project is about porting Android 4.0 to C#... So I'm not sure what is interesting about it in the context of SageTV...
I made a few mental jumps and assumptions.
  1. SageTV would need to be integrated in some form to GoogleTV which is Android based.
  2. SageTV is written in Java and the same tools used to port the Android code could be used to port the SageTV code.
  3. Most HW extenders leverage Linux as an OS. Switching to .Net from Java could also provide some performance benefits there too if the article is to be believed.

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #6  
Old 05-06-2012, 10:42 AM
reggie14 reggie14 is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Maryland
Posts: 2,760
Quote:
Originally Posted by bcjenkins View Post
  1. Most HW extenders leverage Linux as an OS. Switching to .Net from Java could also provide some performance benefits there too if the article is to be believed.
Other devices don't use Dalvik. They probably use Java SE Embedded, that has better performance than Dalvik.
Reply With Quote
  #7  
Old 05-06-2012, 05:26 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by Fuzzy View Post
Android's base on Java is it's biggest hindrance in my mind. It's just NOT a modern language. .net is just that much better in every way. The way the CLR works is just so much smoother and more versatile (compatibility AND scalability) than the bytecode/dalvik system. The only advantage java had over .net, is there were far more java programmers out there when android was developing than .net - but that is rapidly changing.
Oh yeah.. plus, Microsoft's .NET is actually an open standard... unlike Sun's Java.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DIY Android STB: NeTV KJake The SageTV Community 0 12-20-2011 11:15 AM
SageTV as Android for TVs? perholm General Discussion 10 06-23-2011 08:26 PM
Android client? equalize SageTV Placeshifter 1 07-22-2010 09:37 AM
Will preloading of thumbnails be ported to SageMC? scm SageMC Custom Interface 4 04-24-2009 06:18 PM


All times are GMT -6. The time now is 09:46 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.