Hacker News new | ask | show | jobs
by mumblemumble 1905 days ago
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.

2 comments

Does Doom Emacs provide the same functionality as IntelliJ IDEA?
No. Which is probably a big part of it.

The thing is, as far as I can tell, there's a very high overlap between the list of features I don't use, and the list of features that contribute to the sluggishness.

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%.
What does this indexing buy you time wise later?

And what about starting it with an already indexed project?

> What does this indexing buy you time wise later?

For simple projects in Python or JS, nothing. For complex projects in most languages, quite a bit. For anything running in the JVM, a whole lot. That's why I pay for my IntelliJ license every year.

The question here is if it's quicker to open a project and be immediately productive in Doom Emacs, and it is, very much so. This is in contrast with Spacemacs, which I used for a couple of years but had to run Emacs as a daemon to make the startup fast.

If I want to go even faster I'll use Vim, but that's mostly out of habit and proficiency.

> And what about starting it with an already indexed project?

Maybe I'm missing something, but it re-starts indexing every time I open the IDE or the project or when switching branches. Is there any other way?

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.
It does depend a bit on the language server. There are a few language servers that are nicer than the equivalent IntelliJ plugins, though that is generally not even remotely the case for JVM languages that aren't Clojure. AFAICT, the state of the union for Java is that it's not habitable without an IDE, and the only habitable IDE is IntelliJ.
Looks somewhat promising as a TextMate replacement for out-of-project editing - I’ll give it a shot.
On the other hand, I've found Emacs to be slower than Idea, with frequent "synchronous waiting on ui thread" style slowdowns for many different actions...