Re:Best CPUs for Workstations
by mixmastamyk on Tuesday May 05, 2020 @12:07PM
(#23081558)
Any editor can use sshfs.
[ Parent
| on HN ]
Re:Best CPUs for Workstations
by jedimastert on Tuesday May 05, 2020 @12:12PM
(#23081604)
It's a little more tightly coupled than just a file system; it's essentially a fully headless mode.
Re:Best CPUs for Workstations
by mixmastamyk on Tuesday May 05, 2020 @01:04PM
(#23082215)
Tightly coupled is often not desirable.
the VSCode SSH extension runs the editing process remotely so it doesn't need to transfer the entire file.
It's not really clear that that would be faster... sshfs would load the file once (maybe slow, but it's usually a tiny text file) and then do all editing locally in memory. If the editing process is remote, every edit you make is going to involve round trips over the network? That sounds awful?
If you're doing C++ in VSCode the C++ extension will use ripgrep to index your project. When using sshfs, rg runs on the local machine, causing sshfs to load your entire project which if it's large can really slow you down.
The VSCode remote extension installs extensions onto a VSCode remote client installed on the remote machine. So the C++ extensions spawns rg processes on the remote which is a lot faster.
Re:Best CPUs for Workstations
by mixmastamyk on Tuesday May 05, 2020 @02:11PM
(#23082952)
Maybe but folks have been using vim/ssh since the days of vi/telnet. Itβs not a problem under normal conditions.
Its closer to vi over ssh.
Re:Best CPUs for Workstations
by mixmastamyk on Tuesday May 05, 2020 @01:40PM
(#23082623)
That could be helpful, text files are often tiny though.
sshfs (and samba for that matter, even more so) can cause odd kernel behavior and crashes, unfortunately. They're great when network is 100% perfect, if you never suspend laptops, etc. If any of those assumptions go away, you've got a mess.
Re:Best CPUs for Workstations
by NullPrefix on Tuesday May 05, 2020 @06:42PM
(#23085988)
>odd kernel behavior and crashes
I was under the impression that sshfs is based on FUSE, which works in userspace.