3 ms·
The worst is when I see someone using vim or Emacs over SSH. If you think Electron apps are bad, imagine adding a network round trip between every keystroke!
by jhurliman 6y ago
The worst is when I see someone using vim or Emacs over SSH. If you think Electron apps are bad, imagine adding a network round trip between every keystroke!
- vz8 6y agoGui Emacs via tramp+ssh is awesome. Terminal Emacs over ssh is, well, just like anything else in a terminal over ssh. Can't say I notice the latency unless the datacenter is on the other side of the country.
- cyberbanjo 6y agoIsnt it the same if you use tramp in the terminal, assuming you are running emacs locally and tramping into the server to edit?
- sgillen 6y agoSure, although in that case why not use the GUI?
- ben0x539 6y agoidk, vim across ssh (rn from my place in the west coast to a vps in iirc the east coast) feels a lot snappier and less frustrating than my typical interaction with slack.
- beering 6y agoSuggestion for anyone who's annoyed by SSH latency - try out mosh[0]. It watches to see if your keystrokes are echoed and if they are, it'll start echoing your keystrokes locally without waiting for network roundtrip. That, plus the ability to rejoin a session even from a different IP, makes working over SSH doable even from airplane Wi-Fi. [0] https://mosh.org/ https://mosh.org/
- sumedh 6y agoYou can use programs like winscp to open the file locally in your fav text editor and then upload back to the server when you click save.