SageTV Community  

Go Back   SageTV Community > General Discussion > The SageTV Community

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,672
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 7.1.9 on Arch Linux 64-bit, Java 1.7.0_25, 3 HD300 Extenders
Tuning handled by HDHR3-6CC-3X2 (Cable Card in Linux), 1 HD-PVR and lirc using the HDPVR -- Check out my blog
Comskip on Linux
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,893
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
Sage Icon
 
Join Date: Aug 2003
Location: Rockville, MD
Posts: 2,379
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: Riverside, CA
Posts: 6,865
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.
__________________
Sage Server: Phenom II X4, 16GB RAM, Win7HP, 1x1TB (system/misc-imports), 2x750GB+3x2TB(recordings/media)
Sources: HRHR Prime with Charter CableCard. SA-4250 STB connected to Colossus for premiums, DVico Fusion5 for OTA.
Primary Client: i3-530, 2GB RAM, Win7HPx86, miniITX H55 MB, 160GB laptop drive, Samsung HLT-6189S
Other Clients: Phenom II X2 545 w/8GB and HD6670 in Master Bedroom, HD200 in kids play room
Reply With Quote
  #5  
Old 05-06-2012, 09:47 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,672
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 7.1.9 on Arch Linux 64-bit, Java 1.7.0_25, 3 HD300 Extenders
Tuning handled by HDHR3-6CC-3X2 (Cable Card in Linux), 1 HD-PVR and lirc using the HDPVR -- Check out my blog
Comskip on Linux
Reply With Quote
  #6  
Old 05-06-2012, 10:42 AM
reggie14 reggie14 is offline
Sage Icon
 
Join Date: Aug 2003
Location: Rockville, MD
Posts: 2,379
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: Riverside, CA
Posts: 6,865
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.
__________________
Sage Server: Phenom II X4, 16GB RAM, Win7HP, 1x1TB (system/misc-imports), 2x750GB+3x2TB(recordings/media)
Sources: HRHR Prime with Charter CableCard. SA-4250 STB connected to Colossus for premiums, DVico Fusion5 for OTA.
Primary Client: i3-530, 2GB RAM, Win7HPx86, miniITX H55 MB, 160GB laptop drive, Samsung HLT-6189S
Other Clients: Phenom II X2 545 w/8GB and HD6670 in Master Bedroom, HD200 in kids play room
Reply With Quote
Reply


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

Advanced Search
Display Modes

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 10: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 11:44 AM.


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