News for hackers. Stuff that matters.
Re:Bringing GNU Emacs to Native Code (2020) by the_duke on Sunday May 02, 2021 @12:12AM (#27012293)
Every time I try Emacs I get annoyed by it's slowness and go back to vim and VS Code.

This might entice me to build it and try out my Emacs Doom setup again.

Re:Bringing GNU Emacs to Native Code (2020) by tejuis on Sunday May 02, 2021 @02:42AM (#27012862)
There are number of things you can do to improve your situation. Obviously you should not have packages loaded that you don't rely use. There are also ways to perform "lazy" loading, so that memory image is minimal until a package is really needed. I'm not using this myself.

My usage model is such that I only start one Emacs and use emacsclient to add files for editing from terminals. Emacs is running all the time (weeks/months).

Since Emacs is my primary interface to my Linux box, I give it some priviledges. In the .xsession I do:

vmtouch -t $HOME/.emacs.d; vmtouch -ld /usr/bin/emacs-gtk

Which effectively ensures that critical Emacs images and data is present in the memory all the time. Check out vmtouch utility. It might be useful for other purposes as well.

Re:Bringing GNU Emacs to Native Code (2020) by the_duke on Sunday May 02, 2021 @08:09AM (#27014561)
My problem is really not the startup/loading time, but the regular stutters and long latency for input and commands.

I need my editor to "feel" really smooth and instant during editing. Emacs just never gives me that experience.

I think many long-time Emacs (and Jetbrains IDEs, for that matter) users just don't notice how laggy it is because they are so used to it, or are not very latency sensitive.

Re:Bringing GNU Emacs to Native Code (2020) by LanternLight83 on Sunday May 02, 2021 @11:07AM (#27015914)
As a vim user who's transitioned to Emacs with evil, response latency just feels so much better in vim, and although I love and use the daemon-client tip, it misses that point.
Re:Bringing GNU Emacs to Native Code (2020) by lasagnaphil on Sunday May 02, 2021 @04:35AM (#27013396)
It’s quite strange that the reputation for Emacs being slow hasn’t changed in decades even though hardware has advanced significantly...
Re:Bringing GNU Emacs to Native Code (2020) by stjohnswarts on Sunday May 02, 2021 @12:39PM (#27016597)
Probably because it's relative. Emacs being single-threaded hurts it the most I think.
Re:Bringing GNU Emacs to Native Code (2020) by ByteJockey on Sunday May 02, 2021 @08:55AM (#27014878)
Wirth's law: Software gets slower faster than hardware gets faster.
Re:Bringing GNU Emacs to Native Code (2020) by stjohnswarts on Sunday May 02, 2021 @12:38PM (#27016588)
Try doom emacs and see what you think. I don't use it, I prefer pretty GUIs (I don't care what the HN crowd thinks of me and my love of graphics) but sometimes I'm in a terminal and DOOM emacs works great.
Re:Bringing GNU Emacs to Native Code (2020) by nXqd on Sunday May 02, 2021 @12:15AM (#27012304)
hell yeah me too, this will make it get back to Emacs again :D