4 ms·
Why is Java not considered as a cross-platform solution?
by relyks 9y ago
Why is Java not considered as a cross-platform solution?
- ben_jones 9y agoMy guess is they didn't have much in-house expertise for Java and just neglected to mention it in the write-up.
- flukus 9y agoJava on the desktop died because it didn't provide a native enough look and feel and it performed too slowly. Now we just don't care about look and feel and pretend every user has 16GB of RAM like the developer machines do.
- relyks 9y agoJavaFX is actually pretty good and the performance is much better than Electron.
- brandonmenc 9y ago> and pretend every user has 16GB of RAM I currently have two separate JetBrains IDEs each with multiple projects opened on my 8 GB MacBook Air. Doesn't seem to be a problem.
- flukus 9y agoI was talking more historically. Java was slow and fell out of favor at a time when the average desktop had 16MB of RAM (and many had less). It never recovered from that perception and was pretty much confined to server side tasks. Now developers are working on electron apps and the average machine with 2GB makes an electron app today feel like a java one from 20 years ago.
- pvg 9y agoAll the IntelliJ environments are Java based and seem reasonably well-liked. So it seems alive and well, in its niche.
- pjmlp 9y agoJava on the desktop died because most developers were too lazy to learn how to use Swing properly, while writing everything on the UI thread.
- flukus 9y agoI don't buy that excuse, it never affected winforms or vb take-up that often had the same issue.
- pjmlp 9y agoFirst of all you are talking about OS SDKs, first class platform languages designed by the OS owners. Second anyone that bothered reading Filthy Rich Clients book should be capable of doing a WinForms like experience. What I conceed is that Swing has the wrong defaults and requires more UI design skills from devs than Forms does.
- zubat 9y agoFor clients, JS runtimes offer a more polished experience on average than Java. That's not because of anything really intrinsic to the languages or platforms - it's just worked out that there is a lot of Java server code and a lot of JS client code, and consequently more catering to either of those extremes.
- stephenr 9y ago> JS runtimes offer a more polished experience on average than Java [Citation needed] They're both non-ideal solutions, but there is one caveat: java tends to be the language of choice for companies like JetBrains, that want to deliver an awesome experience on all platforms, and go as far as shipping a custom JVM to make that happen. javascript (read Electron) tends to be the language of choice for web developers who want to see their fancy icon in the Dock/Menubar.