Started off as very slow on a not-terribly large project > cache cleanup > does not even start without trashing the .idea folder anymore > still slooow. Command + space takes forever (=seconds) to show the context menu. IntelliJ feels like a proper IDE now :).
IntelliJ IDEA 2021.1
51–60 of 77 posts
Re: IntelliJ IDEA 2021.1
#52Re: IntelliJ IDEA 2021.1
#53Earlier quoted context omitted.
How? Are you using custom JDK with Wayland?
Not an expert on the subject, but AFAIK Jetbrains runs their own Java VM by default. To run intellij on Wayland you do need _JAVA_AWT_WM_NONREPARENTING=1 in your env. It works, but has some quirks as I wrote above.
Here's how you can test:
Run intellij; `pkill Xwayland`
or, try running intellij on a machine which does not have xwayland installed at all.
The thing is: wayland does _not_ have scaling issues, those are inherently X11 problems.
The issue which is tracking this: https://youtrack.jetbrains.com/issue/JBR-3206
I also just ran this and watched for Xwayland to spawn, killed Xwayland and it died.
Re: IntelliJ IDEA 2021.1
#54Earlier quoted context omitted.
Does Doom Emacs provide the same functionality as IntelliJ IDEA?
Some additional anecdata: on my maxed out 16” (admittedly Intel) Mac, IntelliJ/PyCharm/Goland/Webstorm are all quicker to start than Spacemacs. I haven’t tried Doom Emacs but don’t get the impression it would be much quicker.
Re: IntelliJ IDEA 2021.1
#55Earlier quoted context omitted.
Does Doom Emacs provide the same functionality as IntelliJ IDEA?
Some additional anecdata: on my maxed out 16” (admittedly Intel) Mac, IntelliJ/PyCharm/Goland/Webstorm are all quicker to start than Spacemacs. I haven’t tried Doom Emacs but don’t get the impression it would be much quicker.
Re: IntelliJ IDEA 2021.1
#56Earlier quoted context omitted.
Has always been fast for me and Idea has been the best java IDE around. What specs do you run and how large is your project?
As someone who switches between doom emacs and intellij: If you have to ask questions like, "What specs do you run and how large is your project?" it is slow.
Re: IntelliJ IDEA 2021.1
#57Earlier quoted context omitted.
Some additional anecdata: on my maxed out 16” (admittedly Intel) Mac, IntelliJ/PyCharm/Goland/Webstorm are all quicker to start than Spacemacs. I haven’t tried Doom Emacs but don’t get the impression it would be much quicker.
I'll have started Doom, opened a project, found my file, edited, saved and closed, while IntelliJ's indexing bar is still at 10%.
And what about starting it with an already indexed project?
Re: IntelliJ IDEA 2021.1
#58Earlier quoted context omitted.
The problem is that Intellij is written in Java, using the hotspot JVM, which is JIT compiled. But IDEs, especially fully featured IDEs, are a terrible type of workload for JIT compilation. They're full of branches, which can easily cause recompilations, and the breadth of features mean that there is never really a spot hot enough to stay compiled outside of the editor itself. I really wish AOT compilation was taken…
AOT can't take into consideration runtime, which might result in less efficient code compilation vs JIT. So it is apples vs oranges. One is faster here the other there. GC might be an issue, but for me IDEA feels fast and the added benefit of code navigation vs e.g. vim is worth it.
That has for decades been a "in the future we'll have flying-cars" style promise for 99% of workloads...
Sure, JIT can theoritically optimize based on runtime hints. But most of the time, for any practical use, it's slower than AOT.
Re: IntelliJ IDEA 2021.1
#59Earlier quoted context omitted.
The problem is that Intellij is written in Java, using the hotspot JVM, which is JIT compiled. But IDEs, especially fully featured IDEs, are a terrible type of workload for JIT compilation. They're full of branches, which can easily cause recompilations, and the breadth of features mean that there is never really a spot hot enough to stay compiled outside of the editor itself. I really wish AOT compilation was taken…
Hotspot can cache generated binary code across runs since Java 11, but people keep using Java 8....
Re: IntelliJ IDEA 2021.1
#60Earlier quoted context omitted.
One of the main selling points of doom emacs is that it starts up more quickly than spacemacs.
It starts quickly because everything is lazy loaded, if you open project it will start language server, start indexing etc, It's definitely not much faster than IntelliJ, but functionality is still behind.