Hacker News new | ask | show | jobs
by pseudosavant 45 days ago
Not trying to throw shade, but I think the number of devs wishing that the web ended up with XHTML + JVM (now owned by Oracle...) may just be you.

Never mind that when Microsoft licensed Java from Sun for IE3 and IE4, Sun sued Microsoft. Sun wanted to be the only distributor of Java, just like Adobe was with Flash. So, browsers wouldn't have actually included a Java runtime out of the box without licensing/paying Sun for it. I'm sure that dependency would have only gotten even better under Oracle.

Those of us old enough to remember the web with plugins, don't miss plugins.

1 comments

> Not trying to throw shade, but I think the number of devs wishing that the web ended up with XHTML + JVM

I don't necessarily like the JVM, it's just the most popular system-independent bytecode virtual machine (and historically plausible). It's a lot easier to built a bytecode interpreter than a full language. As mentioned elsethread, Scheme would have been even better, with an even smaller base.

XHTML, however, full in. Namespaces and syntax checking alone would have been worth it.

> Never mind that when Microsoft licensed Java from Sun for IE3 and IE4, Sun sued Microsoft.

Microsoft was in their peak EEE era, no wonder Sun didn't want to do anything with that.

> Those of us old enough to remember the web with plugins, don't miss plugins.

That's why I didn't mention plugins, browsers would have a JVM engine, instead of a JS one.

Microsoft was definitely at their peak evil EEE era, but it isn't like Sun didn't want to exclusively own/control Java too. It was Sun that put the Java in JavaScript but wanted to ensure it stayed a toy language.

Think of how truly horrendous it would be if every browser had the JVM built in and Oracle was calling the shots on the language the whole web is written on? How much would they be charging for a license?

Anybody would be able to make their own JVM, thought (they might need to call it the ECMA Virtual Machine). And seeing how the WHATGC works, I don't think they might be able to keep any sort of control.
Before Oracle lost their Java lawsuit with Google over Android's Java runtime, it wasn't clear that you could safely make and distribute your own JVM.