|
General Discussion General discussion about SageTV and related companies, products, and technologies. |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
||||
|
||||
Quote:
|
#22
|
||||
|
||||
Quote:
Vista is pretty much acknowledge as the slowest, fattest OS MS has ever released. It is mostly C++. Where would you flee? Last edited by jominor; 04-17-2008 at 09:51 AM. |
#23
|
||||
|
||||
Quote:
In my experience, I develop in linux/java, some of my my co workers develop in windows/java and we all deploy to solaris/java environment. The biggest challenges that I've faced have been to deal with different java versions.... but no one has decided to write their own custom JRE yet... so I count my blessings.... I wonder if you are confusing the custom JRE with the Sun/Microsoft fiasco where Microsoft decided to build their own custom JRE with the hopes of providing Java vendor lock in on the Windows platform. Those years were painful.... especially when developers would inadvertantly use the custom MS apis and then deploy to non MS platforms. The result here was that Sun flexed their muscle and forced MS to comply and the result was that MS decided to create their own virtual execution environment known as C#.... If I recall, they even provided tools to convert java to C#.... Other than that mess.... can't say that I've had an issue with people/companies writing a custom JRE....
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#24
|
||||
|
||||
Quote:
|
#25
|
||||
|
||||
Quote:
1) Companies that have written their own clean room implementation so they didn't have to license java from Sun. 2) Companies that simply bundle a JRE with their product so they rest assured that the users have everything out of the box. I think Oracle is actually item 2. I don't recall hearing that they wrote an entirely new implementation. Furthermore, you can easily configure Oracle(or related products) to use whatever jre you wish. |
#26
|
||||
|
||||
Quote:
|
#27
|
||||
|
||||
The way I remember the MS case, MS wanted to use Java for writing non-portable Windows apps. Sun wouldn't allow that, taking the unreasonable position that all Java apps must be portable; no native code allowed. MS thought that was silly; if Java is such a great development tool, why shouldn't developers be allowed to use it even in cases where portability isn't a requirement? So they built their own JRE that allowed access to native APIs. Eventually Sun got the message and added JNI to the Java spec, making the MS JRE unnecessary.
__________________
-- Greg |
#28
|
||||
|
||||
From the JNI documentation http://java.sun.com/docs/books/jni/html/intro.html#994
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#29
|
||||
|
||||
Quote:
JNI was included to allow for integration with native code, for legacy support, not, to my knowledge as a means to stop MS. |
#30
|
||||
|
||||
Quote:
Last edited by jominor; 04-17-2008 at 12:37 PM. |
#31
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#32
|
||||
|
||||
Quote:
I actually agreed with you. I just didn't express it well. :-) |
#33
|
||||
|
||||
Quote:
MS may not have been innocent, but my point is that Sun wasn't either. They both cared more about controlling the technology than about serving the needs of real developers. Or at least that's how it seemed to me at the time.
__________________
-- Greg |
#34
|
||||
|
||||
Quote:
Quote:
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#35
|
||||
|
||||
Quote:
You've got an interesting perspective, that's for sure. I've written apps for both Windows and Non-windows, but I don't agree. MS clearly was trying to break Java because cross-platform is a threat. This has nothing to do with philosophy. If you wrote in Java, you expect that your application will deploy on anywhere there is a JVM. That's the point. Now, what happens when you can write an app that works the same on Windows and non-Windows machines. You don't need Windows and applications are Windows main advantage. This is why MS was trying to sabotage it. No different than what they did to Netscape, but Sun wasn't a one-trick pony. Java's initial problems, had more to do with 1)poor applets and 2)Poor initial problems than Sun trying to do anything to MS. I've yet to meet the person who thought that what MS was doing was anything less than an obvious attempt to fragment and weaken Java. Sun successfully blocked then and Java is better for it. I don't think your interpretation of events is accurate. Or even fair to Sun. Sun, IMO, knew that a truly cross-platform Java was and is stronger and better than a fragmented flavors which is why to are strict with everyone with respect to what can legally be called Java. |
#36
|
||||
|
||||
Quote:
Java virtually eliminated that overnight on the server and headless client side. The proble with Java was on the GUI client-side. A GUI library that is both portable and fast is hard to create. Ask Sun. Ask Galaxy. No one else does this but Java. For example, take the system tray. You have to support that on MacOS, Windows, Linux, and say Solaris. It took them until Java 6 to do this. That is more of a challenge than just C++ in Windows. |
#37
|
|||
|
|||
There is library called SWT from Eclipse project which provided such support before Java 1.6
|
#38
|
||||
|
||||
Quote:
However, I think you've proven my point. IBM felt strong enough to forgo using AWT or Swing and decided to write their own. To my knowledge, and I"m shakey on this because I hang more on the server side, the JSE 6's implementation is all native. |
#39
|
|||
|
|||
I am not sure what you mean by native vs. not native. What both SWT and JDK 1.6 do is to provide "native" integration between the Java and the OS they run on. So there is Java abstraction and there is native portion, which in SWT is implemented in DLL and in JDK this code is part of the JVM/accompanying libraries. So they do approximately the same thing approximately the same way, except SWT did it couple of years earlies and provides way more functionality. I implemented several applications using SWT (starting in 2003) and in most cases you cannot tell the difference between Java and non Java application. As far as performance, properly coded application is comparable to C/C++/C# for example see http://shootout.alioth.debian.org/gp...t=all&lang=all
Last edited by bastafidli; 04-17-2008 at 04:43 PM. Reason: Provided hyperlink to comparison |
#40
|
||||
|
||||
Quote:
I'm not saying one is better. Since I tend to work with java on the server side, I don't really care. I am taking a leap, and guessing that they finally got around to implementing whatever needed to be implemented to support Tray Icons in Swing. And as you probably know, there is a bit of a schism between Swing and SWT. Again, I don't care. My only point was to address the guy who said that Java was slow, which it isn't. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Who is in charge here? HDHR, Sage or My New Location. | camus | SageTV EPG Service | 4 | 03-13-2008 03:01 PM |
Important Version 6 Upgrade Information | Narflex | SageTV Beta Test Software | 449 | 01-18-2008 07:17 PM |
Microsoft to charge per commerical skipped! | judoGTI | The SageTV Community | 10 | 10-12-2005 11:14 AM |
Need help designing a solution | Brian | Hardware Support | 4 | 11-16-2004 12:19 AM |
If Sage needed to charge a small monthly EPG fee, would you pay it. | mdmint | SageTV EPG Service | 75 | 11-04-2004 10:32 AM |