4 ms·
Atom, yes, VSCode, no. The latter is noticeably faster and uses less RAM — and the JetBrains suite is even worse. A large part of this is cultural. The Java wo
by acdha 5y ago
Atom, yes, VSCode, no. The latter is noticeably faster and uses less RAM — and the JetBrains suite is even worse.
A large part of this is cultural. The Java world has been prone to high complexity styles which are hard to optimize and there doesn’t appear to be much social expectation that you profile or improve code until you max out what you can easily fit on a single system.
- kaba0 5y agoJetbrains’ IDEs do more things by an order of magnitude than a vscode full-of-plugins, so it is not a fair comparison.
- acdha 5y agoFar less than an order of magnitude — and it shouldn’t be the case that every advanced feature slows down core functionality like how long it takes for a key press to render when you’re not even using that feature. They have lots of functionality but proponents have always noted the … stately … speed and these days the ones I know have moved to VSC because it’s competitive for the features they use and they benefit from better performance all of the time.
- kaba0 5y agoYou still can’t really conclude that it is due to Java somehow. Also, if jetbrains would finally use a non-deprecated GC and a slightly more GC-friendly max heap setting, intellij would have much better latency. (You can try this out yourselves, just go with G1GC and increase heap size for a good improvement. But the best experience would come from ZGC but it is only available in a newer runtime than the bundled 11)
- acdha 5y agoDefinitely, but when almost every Java program I use has issues with performance and memory it suggests that the culture doesn’t value those things highly enough. The same is often true in the JavaScript world, which makes VSC interesting because it’s famously an outlier in the Electron world.
- kaba0 5y ago> Definitely, but when almost every Java program I use has issues with performance and memory it suggests that the culture doesn’t value those things I think it is still a bit of a baseless case. What about java’s gRPC library? Elasticsearch? Or a bunch of other high-performance Java programs?
- acdha 5y agoSolr is the one exception I have personal experience with. The rest of it basically comes down to the culture of complexity: HotSpot is no match for the average enterprise architect.
- cxr 5y ago> The same is often true in the JavaScript world, which makes VSC interesting because it’s famously an outlier in the Electron world. That's because it's not a JS problem so much as it is a problem with the culture of NodeJS/NPM. It happens to be that NodeJS has pretty much cannibalized JS development, however. Two large pieces of software that make heavy use of JS that most people don't even realize—because they don't feel like the kinds of apps that NPM programmers produce—are Firefox and the Gnome desktop. They're by no means examples of the top end of world's snappiest software, but they are solidly middle-of-the-road in a way that most Electron apps, for example, are not. Dominant platforms that capture lots of developer attention (like NPM today, and Java starting 15–20 years ago) end up capturing the attention of the sort of programmers who are going to be causing trouble no matter what ecosystem they're working in.
- kaba0 5y agoI mean, both programs hardly use JS for anything other than scripting the behavior of a very optimized C/C++ codebase. So I don’t think it is fair to call them JS apps — I have never heard Firefox referred to as such.
- cxr 5y agoYour remarks here, esp. re "hardly use JS", make for a wildly misinformed comment. (You realize that every Electron app also has at the core a "very optimized[...] C++ codebase"? Aside from that, Gecko makes very little use of C and by now makes extensive use of Rust.) XUL-based apps were doing the Electron application architecture before Electron (or NPM, for that matter) even existed—and on average they've done it better. > I have never heard Firefox referred to as such. ... so? The fact that you aren't aware how heavily reliant that Firefox (and Thunderbird, and Zotero[1]) is on JS for its UI and other application logic doesn't exactly change anything. In fact, that most people aren't aware of it is rather the point of the comment that you're responding to... 1. https://news.ycombinator.com/item?id=29774097 https://news.ycombinator.com/item?id=29774097
- bayindirh 5y agoLatest Eclipse (esp. after they switched to 4 releases/year schedule) is very lightweight and nimble for what it does. It's being optimized for being faster and lighter every release, and it really shows. I mostly develop C++ and Python in Eclipse, and CDT's indexer is really good, and it's not using gigabytes of RAM, or doesn't require LSPs to be productive. OTOH, Eclipse supports new things like LSPs, direct builds to containers, etc. So, it's getting faster, doesn't getting heavier resource wise, and keeping its edge tech-wise. I'm a happy camper. Oh, and the plugins doesn't need official binaries, if you're inclined to build your own.
- tored 5y agoPersonally I find Jetbrains IDE, Phpstorm specifically, very snappy. Much better than VSCode in performance. I few years ago I managed to run Phpstorm on a ASUS Eeebook with an Intel Atom 32 bit 1.3 GHz CPU & 2GB RAM. Not optimal but doable. I’m impressed what Jetbrains has managed to squeeze out of Java. However I’m not aware of any other Java desktop app that that works as well. Only thing you can’t do is to manually run every inspection there is on the entire project, takes forever and will eat your CPU even on a fast machine.
- skrtskrt 5y agoJetBrains IMO is about the same performance as VSCode for waaaaay more ease and functionality. It doesn't give me that deliciously snappy feel compared to something like terminal NeoVim, but my productivity is ultimately much higher on a JetBrains IDE