News for hackers. Stuff that matters.
Re:What's the Future of IDEs? by melling on Wednesday November 24, 2021 @06:26AM (#29328907)
Emacs ran on hardware from the 1980’s. How can it be too slow on modern hardware?
Re:What's the Future of IDEs? by krageon on Wednesday November 24, 2021 @12:11PM (#29332332)
> How can it be too slow on modern hardware?

It can be, because it is :) If you want a really technical explanation, you can profile the application. If that is too much work, I'll generalise and say that the tendency for the UI to lock when performing CPU heavy computations makes it feel slow. Because of the things you will be asking it to do (i.e. solve modern problems), sometimes such computations exist and lead to blocks of 1s or more. That will never feel fast.

Re:What's the Future of IDEs? by kolme on Wednesday November 24, 2021 @07:20AM (#29329249)
It takes a few seconds to boot up, even on my Ryzen 7 machine with 8 cores à 4GHz and 16GB RAM.

Booting up is normally not done so often, but also doing other stuff takes way too long for my taste (over the perceivable 300ms threshold).

> Emacs ran on hardware from the 1980’s. How can it be too slow on modern hardware?

Since then they've added millions of lines of ELisp code. The comparison is moot.

Also we are talking here about Emacs "distributions" (Spacemacs, Doom Emacs) which come with a lot of code, and ELisp is not particularly fast.

Re:What's the Future of IDEs? by erikbye on Wednesday November 24, 2021 @09:07AM (#29330067)
Vanilla Emacs startup time is approx. 1 second. Even with a few packages added, Emacs is ready for use in less time than VSCode.
Re:What's the Future of IDEs? by kubanczyk on Wednesday November 24, 2021 @10:54AM (#29331220)
> Also we are talking here about Emacs "distributions" (Spacemacs, Doom Emacs) which come with a lot of code, and ELisp is not particularly fast.

I've just tried Doom Emacs on 27.1, with the default stuff plus some minor additions, and it starts within 900 ms on my laptop (Intel(R) Core(TM) i7-9850H CPU @ 2.60GHz).

Re:What's the Future of IDEs? by earth_walker on Wednesday November 24, 2021 @01:20PM (#29333238)
It isn't. I still use it once in a while on an old netbook with a couple of gigs of memory, and it flies for any editing task. In comparison, no IDE can even hope to run on that unit.

HOWEVER, a heavily and naively reconfigured emacs, possibly with uncompiled elisp code and copy-pasted invocations that wait for network responses could take ages to open.

If you are finding emacs to be slow, try it vanilla first ("--no-init-file") before deciding it's the program and not your configuration.

Re:What's the Future of IDEs? by kryptiskt on Wednesday November 24, 2021 @09:08AM (#29330079)
Too much single-threading, loads of interpreted code and a display model that doesn't fit well (or really at all) with GUIs.
Re:What's the Future of IDEs? by renox on Wednesday November 24, 2021 @08:35AM (#29329818)
Emacs/Vim are fast, SpaceMacs/SpaceVim are slow. And buggy for spaceVim I would add.
Re:What's the Future of IDEs? by Narishma on Wednesday November 24, 2021 @12:01PM (#29332172)
Does the current version run on 80's hardware? That's not a very useful comparison otherwise.