Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: ShadowAce

I don’t know about HTML5 for example to really comment intelligently but only to say we’ve seen this movie before. Java as going to ride to the rescue in the 90’s and it was going to be write once run everywhere. And no doubt other new paradigms as well. Things never quite work out that way in real life, do they?


3 posted on 06/02/2011 6:07:02 AM PDT by 2 Kool 2 Be 4-Gotten (Welcome to the USA - where every day is Backwards Day!)
[ Post Reply | Private Reply | To 2 | View Replies ]


To: 2 Kool 2 Be 4-Gotten

The Java thing and this HTML5 thing sure seem to be similar, don’t they? :)


6 posted on 06/02/2011 6:21:13 AM PDT by ShadowAce (Linux -- The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 3 | View Replies ]

To: 2 Kool 2 Be 4-Gotten
As an ex Java developer let me tell you, from Day One, all of us knew Java was never going to be dominant

It served a purpose “Write once, run everywhere” remains broadly true with Java

However, you pay a penalty. Under the hood is “virtual machine” which takes up CPU cycles.

Think of the Star Trek Universal Translator. If you were to build one to talk to a Chinese person, every time you would say something in English, the machine would spend some time (be it seconds or milli seconds) translating to Chinese before spitting it out to the intended recipient. Now when Mr. Shanghai Guy replies to you, it AGAIN has to translate back to English and takes up some time.

No matter how fast your processor is, the penalty is there and if you add up all the transactions going back and forth and back (millions upon billions upon trillions), the penalty becomes noticeable.

So, soon you start to not look forward to these Universal Translator conversations with Mr. Shanghai Guy and the day he announces he has learnt English via Berlitz, you jump at the chance to talk in English with him and ditch the Universal Translator.

In Javaspeak, you prefer a Native App vs a Virtual Machine App

Another issue with Java. It built applications that had the most common GUI and functionality features. That makes sense as it had to run “everywhere”. What this meant was that if a particular Operating System (like Mac or Windows) had some unique GUI or functionality features that no other Operating System did, Java in most cases did not support them. So, all the Java apps looked pretty boring and felt “limited”

In the above example, imagine if all your Universal Translator did was limit itself to the common words and grammar of all the languages. Now, you would be stuck talking “formal English” and any of the colloquialisms of English would not be translated and neither could you indulge in your fondness for puns (a particularly English pleasure). Limericks would befuddle the translator.

So, yeah, Java did the job when needed. However, it never was going to replace a native app. With Windows maintaining a 90% domination of the desktop, it makes sense for app makers like Intuit to write Quickbooks as a native app.

Same has applied to Apple. Look at all the iPhone/iPad apps. Native apps...all/most of them.

9 posted on 06/02/2011 6:41:13 AM PDT by SoftwareEngineer
[ Post Reply | Private Reply | To 3 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson