News for hackers. Stuff that matters.
Re:Sublime Text 4 by beermonster on Friday May 21, 2021 @02:50AM (#27231211)
For people not fortunate enough to own an M1, it’s a slow to start typical Electron app. Don’t get me wrong, I love and use VS Code. But performance isn’t in the same league.

Sublime Text basically does what you describe above on ANY hardware.

Re:Sublime Text 4 by efdee on Friday May 21, 2021 @05:15AM (#27231925)
Anecdotal, but on my Intel/Windows laptop, VSCode opens instantly and has my sizable project loaded in <1s.

I have one Electon app that I wrote myself and it's pretty fast as well even though it deals with a boatload of things, and I didn't really put any special effort in to achieve that.

Both on my current laptop (which is admittedly a 10th gen i7) and my older one (8th gen i5).

Not to say that Sublime doesn't load faster. I'd almost be surprised if it doesn't. But the whole "Electron apps are slow" trope really needs to go.

Re:Sublime Text 4 by mekkkkkk on Friday May 21, 2021 @08:27AM (#27233151)
Saying it's a trope is wild. In almost any comparative metric you could think of, they are slow.
Re:Sublime Text 4 by beermonster on Friday May 21, 2021 @05:44AM (#27232093)
It doesn't open instantly on my work (Windows) desktop. But then I don't care as I generally open it and leave it open all day.

Same with Spacemacs. because of the way processes are more expensive on Windows, Emacs/Spacemacs is many order of magnitude slower than it is on *nix (the other places I use it). I tolerate it as I can't live without magit and Org and other staples.

I find the crappy Slack app (another Electron app) is also slow to open, load and update. So much so, I prefer to use their web client in a browser.

Anecdotal, also, but that's two Electron apps which are sluggish on fairly recent (3 years) hardware.

Re:Sublime Text 4 by teddyh on Friday May 21, 2021 @08:40AM (#27233260)
> Emacs/Spacemacs is many order of magnitude slower

Look into emacsclient.

Re:Sublime Text 4 by beermonster on Friday May 21, 2021 @09:41AM (#27233879)
A good tip, and I indeed already use it.