Live data from Hacker News

SSH Remoting

zed.dev

11–20 of 227 posts

Re: SSH Remoting

#11
post #4

Also works well in vscode. Just wish the remote instance would keep running forever. Currently it's only a few hours it seems. Then one needs to reopen the workspace window.

Given my experience with the vscode remote instance, that actually sounds terrible as it can get bloated very quickly. The instance state can and should be retained without running the instance indefinitely.

Re: SSH Remoting

#12
post #7

I also switch between a lot of computers (work computer at home/work computer at work) but have to develop on "big powerful machine at work". My current solution is tmux + nvim and it works really good. I can just pickup a session from whatever computer I'm in front of at the moment. Am I correct in that neither Zed nor VS Code support this usecase yet?

Not persistent sessions, but VS Code can run the GUI locally and connect to a remote server. When you reconnect it opens all your tabs, workspace settings etc.

Re: SSH Remoting

#13
How's Zed with WSL (now)? I've liked the ability to run the VS Code back-end in WSL and front-end in Windows, is this possible with Zed?

Re: SSH Remoting

#15
post #3

Is somewhere a comparison of Zed to Visual Studio Code?

Memory footprint, startup times, overall responsiveness. At the end of the day VSCode is still Electron app.

Re: SSH Remoting

#16
post #9

Caveat emptor: "Zed downloads NodeJS binary and npm packages from Internet without user’s consent"[1] This has been an open issue for 5 months. When I noticed it, I couldn't believe my eyes and it was the last time I've run Zed so far. Judge for yourself whether this is a deal-breaker for you; I wish I had known about it earlier. [1] https://github.com/zed-industries/zed/issues/12589

Oops indeed. (Downloading can be fine in many---but not all---cases, but the lack of authentication is not really justifiable!) The latest comment does hint that it will change in the near future, as the change is required for remote development anyway:

> Status update: We are still working on this! The major blocker is that extensions have not been setup to interact with setting. However, we also need to change this API to support our upcoming remote development feature. So we're going to roll both of these breaking changes into a larger extension update, coming this November or December :)

Re: SSH Remoting

#17
post #7

I also switch between a lot of computers (work computer at home/work computer at work) but have to develop on "big powerful machine at work". My current solution is tmux + nvim and it works really good. I can just pickup a session from whatever computer I'm in front of at the moment. Am I correct in that neither Zed nor VS Code support this usecase yet?

I use VSCode + SSH remote for this and works great. The only nitpick I have is needing to manually reconnect when I suspend my laptop and ssh connection breaks. It's a separate session though, which doesn't matter to me but may be a deal breaker for you.

I use Tailscale for a personal VPN so the beefy workstation is always securely available from my laptop, even when across the pond).

Re: SSH Remoting

#18
post #13

How's Zed with WSL (now)? I've liked the ability to run the VS Code back-end in WSL and front-end in Windows, is this possible with Zed?

I wouldn't go there. These things are supposed to be helpful, any bug or chance of a bug will be detrimental to their stated purpose, just imagine scenarios were zed tells git to download a repo and you have to make sure it downloads to a linux directory and not a windows directory, otherwise you lose all of the access bits, and it's slow af.

Asking for trouble.

Re: SSH Remoting

#19
post #15
post #3

Is somewhere a comparison of Zed to Visual Studio Code?

Memory footprint, startup times, overall responsiveness. At the end of the day VSCode is still Electron app.

In my experience, the electron overhead is relatively negligible compared to the ressource usage of the language servers. And zed seems to use the same language servers.
Post reply on HN