Comment by retrac

3 years ago

Electron apps may be mocked, but they're not avoided by most. VS Code is probably the #1 programmer's editor these days.

I remember back when Java programs were painfully slow, these days I've fled vscode for clion.

Browsers are ridiculously fast. People just add more and more until they hit the wall where they need to start optimizing. For someone trying to get things done, that’s probably the right method. But it means that ultimately what determines how fast your program runs is not how fast your computer runs, but how much delay you’re okay with.

Somehow VS Code manages to run Electron and loads in roughly the same amount of time as Sublime Text needs that's compiled into a native binary.

Maybe Tauri will make things better in the long run, but so far I haven't heard of any adoption at all.

  • I think you’re saying that decades of r&d by the largest tech companies in the world can eventually produce a browser runtime that renders text about as fast as a couple people working in python and C.

  • VS Code does not feel slow to me , how are they getting such good performance ?

    • I kinda disagree with this. I have definitely noticed that my cursor can be slow to respond when some linting/formatting (I can't quite tell what is causing it, I just notice it) is going on. Totally usable, but I'm also coming from emacs and it's not like emacs is known to be blazing fast so I actually think my experience is sort of inline with the article's point.

      Despite or because of emacs being older, it's more responsive than vscode in my usage.

    • Have you ever used Sublime or Vim?

      Vscode is fast compared to most modern editors, but it's still twice as slow as Sublime in terms of input latency, UI responsiveness, text coloring etc.

      An hour with Sublime/Vim followed by going back to Vscode is a painful experience...

On Windows, what other options do you really have?