3 ms·
I think the latency becomes most problematic when it's inconsistent, and if you want to fix input errors, or move the cursor and then input something. I've exp
by toast0 6y ago
I think the latency becomes most problematic when it's inconsistent, and if you want to fix input errors, or move the cursor and then input something.
I've experimented with video games with various amounts of display lag or dropped frames; nothing blinded or anything (although, setting up a blind test sounds fun), and there's clearly an increase in difficulty the farther you get between input and response. Writing code is clearly not Mario Brothers, but small delays can add up.
- magicalhippo 6y ago> I think the latency becomes most problematic when it's inconsistent Indeed! I don't have a problem using say a SSH console with 1 second lag. After a bit of initial cursing, it works just fine, I can write my code or edit conf files just fine. It's not as comfortable as writing at home, but it's not really a big deal. However if the lag is inconsistent, say due to packet drops, it's horrible. Even if the base latency is low.
- codinger 6y agoIt's funny you mention this, because I like to use vscode over ssh. I believe the editor updates the screen before the change is ever made on the server, so it feels nice and responsive like you're coding on your home machine.
- setzer22 6y agoNot trying to take merit away from VSCode, but emacs and tramp mode also do that. And not just with remote machines over ssh, docker containers work as well. Also docker containers over an ssh connection (or whatever crazy combination you may need). You get latency-free editing because the file is edited locally and sent to the server on save. Simple implementation but highly effective.