i would 100% pay for non-electron/non-vscode ui (sublime text? anyone?)

nothing specifically against vscode/electron/atom. i did use atom 10 years ago, then started sublime text 2, since then, it has been really hard to beat sublime text. the speed and rendering of sublime is much better.

i also have been using zed, which can be considered cloud-code ui too in certain terms, zed is quite more resource-intensive than the sublime and feels higher latency. (possibly because I use frosty-transparent theme...)

What is your use case that you see UI lag between vscode and sublime? Honestly, I feel zero difference between sublime/vscode/vi. Vscode arguably takes longer to boot up, but that only happens like once a day so it's not a big deal.

I think this is a lot of "I don't like Typescript/Javascript for serious things" or "Electron sucks" posturing rather than an actual tangible difference.

> What is your use case that you see UI lag between vscode and sublime? … I think this is … posturing …

Typing with pleasure: https://pavelfatin.com/typing-with-pleasure/

Study the graphs. Ready the copy.

If you don't feel these differences every keystroke, count yourself lucky to have slower perception or typing, rather than accusing folks of posturing.

Your brain processes (visual) information at a resolution of >= 80ms[1]. The idea that you can tell the difference between 10ms or 50ms latency when typing is simply untrue (both events will appear instantaneous). I say this as someone that has played Counter-Strike professionally and have a sub-200ms reaction time. (Auditory perception is processed at a higher resolution, but the article is decidedly not about that.)

[1] https://pmc.ncbi.nlm.nih.gov/articles/PMC9851611/

I almost noted on that as I've harped on sub-200ms for web responsiveness since the 90s.

However, reacting to something you see is a diff thing than sensing intra key-to-char lag in flow.

In CS, responding to what's on screen is diff from button press to seeing game action. High polling rate controls are going after that.

i cannot tell exactly but it kinda bothers me while working/typing

it is not like a huge latency, definitely not like ssh-connection.

to explain better, i usually have pre-defined set of keystrokes i input, so it's not the issue of latency of a single keystroke, rather compounding effect.

another thing is, most of the LSPs, highlighting etc are visibly slower on vscode. I am also having many plugins/extensions so that is partly to blame.

in the recent versions of vscode, they started supporting tree-sitter, which is quite nice in terms of performance.

Zed is awesome and zed has zed AI and its built on non electron. Its actually built by the atom team itself by learning from their mistakes of building atom and this time instead of building it on browser, they did some pretty hardcore optimizations like running the editor at 144 fps or similar by rendering rectangles via GPU processing.

Zed is really snappy. It's kind of my go-to editor for most things.