4 ms·
As much as I dislike the inherent complexity of Electron, VSCode and Discord are existence proofs that it can be used effectively. VSCode is far faster than an
by smaddox 9y ago
As much as I dislike the inherent complexity of Electron, VSCode and Discord are existence proofs that it can be used effectively.
VSCode is far faster than any other IDE I've used, and even beats VIM in terminal in terms of responsiveness (altough I suspect this is not VIM's fault).
Discord is overall a great application, and quite responsive.
Both are slightly bloated in terms of memory, from what I supect they could be. But not nearly as bloated as many of the competing Java and C++ applications.
- ch4s3 9y ago>But not nearly as bloated as many of the competing Java and C++ applications. I too like discord and VSCode, but VSCode uses far more resources than sublime, with the tradeoff being that it's more easily extensible and has a faster release cycle(which may or may not be related to team size). VIM locally is obviously also going to be much faster and capable of opening far larger files than VSCode.
- yorwba 9y agoOne thing that can make vim in a terminal feel slow is related to the escape character doing double duty to signal extra information to terminal applications (e.g. arrow keys or window size) on the same channel as regular input. To catch a single press of the escape key, vim needs to wait a little bit to make sure it's not the start of an escape sequence. Sometimes that delay is configured too generous and becomes noticeable, especially when chaining applications (like running vim in tmux).
- smaddox 9y agoHmm. I'll have to look at this closer. If it's adjustable, that might greatly improve the responsiveness.
- talles 9y ago> even beats VIM in terminal in terms of responsiveness For real?
- mike_hearn 9y agoIf an Electron app is beating vim in responsiveness on your machine, I suspect there's something wrong with your machine. Vim should react instantly in every case. I have yet to see that from any Electron app I use.
- smaddox 9y agoI suspect it would be more responsive using Macvim/Gvim. I suspect the terminal emulator adds some keypress latency.