logoalt Hacker News

dbacartoday at 5:18 AM3 repliesview on HN

Sometimes I think that, if Java ditched the idea of JVM and followed what modern languages did today (write once, compile on every major platform), things would be different.


Replies

maxlohtoday at 6:30 AM

I don't think so. Oracle isn’t a consumer-facing company and doesn't really care about that sector. SWT and Swing will likely remain as ugly as they are for the next century, regardless of their popularity.

Microsoft, Google, and Apple have invested millions to polish their GUI solutions because that’s where their revenue comes from.

show 1 reply
wmftoday at 5:23 AM

What's even sadder is that was built and Sun fought against it because they were worried that devs would only compile for Win32.

show 1 reply
speed_spreadtoday at 10:55 AM

The JVM and the ecosystem it sustains are more important than Java itself. The main reason newer languages can run "everywhere" is because hardware has been commoditized and the number of server OSes has been reduced to two. The JVM was designed to flatten a much more diverse environment than what we have today. Whatever you produce that can run on the JVM will still be runnable in 30 years.