Man Emacs Is Slow
I have tried vs code recently after a long while. I opened up one of my react projects, instantly blown away by the speed of autocompletion and navigation. Even typing is faster than in emacs. I am using doom-emacs with minimal tweaks right now, and the typing feels sluggish overtime on both source code files and org-mode files. Restart emacs helps sometimes, but even with fresh instance, it still feels a little bit slower than vs code. Which makes vs code feels more like a native mac app and emacs an electron bloatware. That's a shame, I am still an emacs user, but it makes me seriously considering switching, maybe just for JavaScript/TypeScript projects.
7 comments
[ 0.22 ms ] story [ 20.6 ms ] threadI use emacs exclusively for org-mode. I think I don't see the problems you see.
I'd dig into what modes (minor and major) are setup on the files you're editing.
I will also say, there was some way I'd once configured org-mode that really slowed it down when there were a lot of code blocks (as it could switch into the appropriate major mode for that block). I don't recall ever "fixing" it, it just got faster over time. I was specifically using org for literate programming. When using it straight with primarily the outliner, dates, todo lists, etc. it didn't have the same issue.
The one thing I've noticed that really helps with load times is running emacs as a daemon on startup and launching new instances with ```emacsclient -nc```. But that doesn't address issues while it runs.