3 ms·
Friend JetBrains IDEs are brutally slow, they do a lot but VSCode does 90% of what they do, supports more things and starts faster despite being a freaking Elec
by sirwhinesalot 2y ago
Friend JetBrains IDEs are brutally slow, they do a lot but VSCode does 90% of what they do, supports more things and starts faster despite being a freaking Electron app, and is also terrible.
You're not making a good point. Delphi started about as fast as a JetBrains IDE on a slow hard drive with a single core CPU whose speed was counted in MHz... And it has a much better form editing experience than anything these days.
- mike_hearn 2y agoI used Delphi back in the day and I use IntelliJ today. The latter starts faster than the former despite doing many orders of magnitude more things. Delphi back then didn't support refactoring at all, which is 90% of the CPU a modern IDE is using. It certainly isn't brutally slow. Also, if you want a better than Delphi form editor just use IntelliJ to create a Swing app. That's a built in form editor with more features. I like Scene Builder a bit better, but form editors that are good are out there for the taking if you want them.
- sirwhinesalot 2y agoIntelliJ has orders of magnitude more hardware to work with, there isn't even a comparison. Why is 90% of the CPU a modern IDE using for refactoring if I'm not refactoring? If you think an IDE being this slow is in any way acceptable in an age where we have 8+ core CPUs with 3+ GHz speeds, high-speed SSDs, DDR5 RAM and GPUs taking on part of the load? You're nuts!
- mike_hearn 2y agoIt uses most of the CPU power because to be able to offer refactoring services the IDE needs to maintain a indexed representation (database) of the source code. Because of that indexing work, even in large codebases you can call up all the call sites of a method or many other things and the results appear in a fraction of a second. If the IDE had to read every source file to do that every time, refactoring support would be impractical. The flip side of that is that most of the work the IDE does is understanding the source code as it changes and maintaining those indexes, including indexes of all the dependencies. Delphi just did not even try to do that work, and Delphi apps typically had few dependencies if any anyway. IntelliJ being slow isn't my experience. But I know it can get very slow in some cases, like if it's running out of RAM. Make sure to respond to notifications if it says it's running low on memory.
- sirwhinesalot 2y agoVSCode can do it faster. It's an electron app talking to exteral processes over a socket. No excuses! Zed opens instantly and can give autocompletion instantly even for C++ projects.
- mike_hearn 2y agoBut this thread starts with the article complaining that those external processes have to be restarted every twenty minutes. Exaggerating, I'm sure. But a few days ago I helped a colleague who was using both IntelliJ and VS Code on his laptop. The whole machine has dragged to a halt, a kind of slowdown I never see on Macs normally. A quick trip to the Activity Monitor showed that VS Code processes had been in a spin loop for days. Somehow they were trashing the performance of the entire machine. The ironic thing is, I came over to take a look because my colleague had been complaining IntelliJ was slow. Kill off the errant Electron processes and suddenly IntelliJ was fast. At any rate, startup time isn't the be all and end all for an IDE. I only (re)start my IDE when it needs an upgrade.