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.
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.
Imagine what could have been achieved had the same amount of R&D been poured into a native framework.
2 replies →
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.
They care about and test for performance issues/regressions.
https://github.com/microsoft/vscode/issues?q=is%3Aissue+labe...
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?
Besides all the other alternatives offered by siblings, Kate also works on Windows:
https://kate-editor.org/get-it/
It's not really a 100% replacement for all of VS Code's features, but there is a pretty big overlap in functionality that may meet most people's requirements: Notepad++
There are a host of alternatives on Windows. Or buy a real IDE, like the JetBrains products.
IntelliJ, Android-Studio, CLion, PyCharm...
Jetbrains' products.
Emacs. Either native or WSL, both are fine.
vim run inside of WSL. i'm serious.
Notepad++ ?
Various language-specific IDEs like Spyder ?
Sublime Text
Webstorm
eMacs