4 ms·
This article seems quite off. First, it conflates browser and desktop. Yes, applets died an early and deserved death. That is different from what happened with
by geophile 5y ago
This article seems quite off. First, it conflates browser and desktop. Yes, applets died an early and deserved death. That is different from what happened with desktop apps.
A univeral GUI (e.g. Swing) was wrong-headed. I don't actually know what happened after people moved away from Swing. But even in the time range TFA discusses, Intellij IDEA, an IDE written in Java, was a success. It has always been multi-platform, and never had worse than acceptable performance in my experience. It has grown into a large suite of products, and I think it is widely considered to be the best IDE, for pretty much any language you can name, by a wide margin.
Java has become the new COBOL -- the language for business applications, which means backend development. But the continuing success and improvement, and broadening of the JetBrains products pretty much demolishes the argument that Java has declined and fallen on the desktop. JetBrains is an existence proof that it is a very capable platform for anyone who chooses to use it there.
- shannah78 5y agoI can't disagree with anything you say here, except the thing about "the article seems quite off". lol. This piece covers the state of the technology at that time. In the early 2000's Java was slow. I wasn't familiar with IntelliJ at that time, so can't comment on their performance then. I wouldn't expect it to be dramatically better than other Java apps on the market at that time. Moore's law has steadily changed the landscape. So have improvements in JIT technology.
- jasode 5y ago> the JetBrains products pretty much demolishes the argument that Java has declined and fallen on the desktop. JetBrains is an existence proof that it is a very capable platform Your counterpoint doesn't apply to the article because the author's use of "decline & fall" is about market share and dev mindshare and not about any declining technical capabilities. (Notice that the author already agreed with you about Java's capable platform when he wrote: "Despite the ominous tone of this article’s title, I believe that Java is a compelling platform for modern desktop applications.") Jetbrains releasing new products doesn't change the fact Java lost popularity as a tool for desktop apps in comparison to its 1995 hype. Even during Java's late 1990s peak hype cycle, its usage for desktop apps was never adopted by programmers to the same degree as Electron/Javascript is today.
- geraldwhen 5y agoThe exception doesn’t prove the rule. It’s ridiculous that I have to modify Java VM arguments so IntelliJ can use more ram and actually index my projects. The IDE is great, but Java undoubtedly makes it worse.
- kaba0 5y agoThat’s the fault of jetbrains, not java. They release it with way too old JRE with custom patches and quite shitty default arguments, while it works eons better with no argument at all on an up-to-date jdk, but even more so with the single setting of a low-latency GC, ZGC. The JVM is a beast, why do you think a good deal of all serious web applications run on top of it?
- vishnugupta 5y ago> The JVM is a beast, why do you think a good deal of all serious web applications run on top of it? When I run a Java app-server I'm happy to, in fact it's unwise not to, allocate it the maximum possible RAM the underlying server has. That's because I know for sure JVM is the only thing that's going to be running on a server. On a desktop it's a totally different story. IntelliJ has to compete with other applications for RAM because I'm constantly multi-tasking between browser tabs, Apple Music, Slack app and what not. So allocating RAM to JVM apps on desktop is a world of pain because I, as a desktop user, just don't (want to) know how to fine-tune hardware resources for different apps. I don't allocate heap to Safari, why should it be the case with IntelliJ? Why can't they figure out? Or maybe there should be a desktop version/mode of JVM that'll figure out ideal RAM size and work with it and expand/shrink as needed?
- nyanpasu64 5y agoMinecraft on modern JVMs still requires setting memory usage based on how much free RAM you have (though not GC tuning to the same extent as before).
- lmm 5y ago> The JVM is a beast, why do you think a good deal of all serious web applications run on top of it? The JVM sacrifices latency for throughput, which is good for servers but not for desktops.
- howinteresting 5y agoJetBrains literally has to ship its own fork of the JRE for things like decent font rendering: https://github.com/JetBrains/JetBrainsRuntime https://github.com/JetBrains/JetBrainsRuntime In its success it shows how badly Java has failed.
- tadfisher 5y agoBecause JetBrains is shipping a JDK11 runtime, and huge improvements have been made (including font rendering) in the past three years, ironically making it a pain for JB to update to JDK17.
- naruhodo 5y agoThe article glosses over a couple of points I recall from living through the same period: - JBuilder was performant (and as I recall, for GUI development, awesome). Not sure if it was Swing-based, but it was a counterpoint to the idea that you couldn't build performant Java GUI apps. - Applets were stifled by Microsoft refusing to include a contemporary Java runtime in IE, which was still dominant around 2000. My recollection is a bit vague now, but I seem to recall that Java applets in IE were stuck on a 1.0 JVM when Java 1.2 was contemporary. It's worth noting that I was developing on Linux and Windows. The author's experience would have been coloured by his use of the Mac platform. Up until quite recently, Macs were stuck on Java 6 while the rest of us were using Java 8, at least. I can't help but wonder if Apple considered Java to be a second class citizen.
- tadfisher 5y agoI believe Microsoft went all out on "extinguishing" applets after Sun sued the Microsoft Java project out of existence. Hence the contemporaneous beginnings of C# and the CLR.
- phplovesong 5y agoOn the contrary. Jetbrains IDE's prove the fact that no matter how much you engineer, a java based desktop application will always be slow and eat huge amounts of resources.
- neuronic 5y agoAs opposed to the Electron-based editors which modern web developers use and heat Starbucks with?
- danuker 5y ago"Software is getting slower more rapidly than hardware is becoming faster." https://en.wikipedia.org/wiki/Wirth%27s_law https://en.wikipedia.org/wiki/Wirth%27s_law
- PestoDiRucola 5y agoVSCode is Electron-based and it's quite efficient and not such a memory hog.
- kaba0 5y agoI think I have already answered you regarding it, but Jetbrains IDE’s are not resource-hungry because of Java but because they index/cache the code base. You can’t draw meaningful conclusions from that.