Live data from Hacker News

SSH Remoting

zed.dev

161–170 of 227 posts

Re: SSH Remoting

#161
post #38
post #33

Earlier quoted context omitted.

What kind of codebases do you work with? Other than with multi-MB files or thousands of multi-cursors, I've never had any performance issues with VS-Code. It's actually one of the fastest Electron apps, I would say. If I notice a delay, it's usually the language server or some support package's background command taking a bit of time.

How old is your computer? Some people have longer upgrade cycles than others.

Granted, all of my machines are pretty new and powerful.

Maybe performance is a lot worse on >5yo machines.

Re: SSH Remoting

#162
post #50

Earlier quoted context omitted.

You are the product. The editor is free afaik, and is very good. It has a plugin system and many languages have been added. It's really, really close to be my replacement to intelliJ. Sadly many bugs are stopping that for now. They'll charge for integrations later, collaboration etc. I'm not sure exactly where the money is going to come from but I value a quality native IDE. I hope they don't stuff crap down our mout…

> You are the product. As far as I can tell from the Zed FAQs and license, this is false. Can you provide information to support this assertion?

That's just the old copypasta:

"If you don't pay for the product, you are the product"

Re: SSH Remoting

#163
post #50

Earlier quoted context omitted.

You are the product. The editor is free afaik, and is very good. It has a plugin system and many languages have been added. It's really, really close to be my replacement to intelliJ. Sadly many bugs are stopping that for now. They'll charge for integrations later, collaboration etc. I'm not sure exactly where the money is going to come from but I value a quality native IDE. I hope they don't stuff crap down our mout…

>It's really, really close to be my replacement to intelliJ Isn't Zed just a text editor? The last time I checked it out it didn't have any debugging features which doesn't really make it a replacement for an IntelliJ IDE.

Zed is closer to VS Code than an ide like intelliJ or text editor like Sublime

Re: SSH Remoting

#164
post #83

Has anyone tried this and ssh'd into a container ? IIRC VSCode struggled to correctly ssh into a container that's set up in your `.ssh` config file. Not sure if this fixed it: https://github.com/microsoft/vscode/issues/194879

I'd really like to see this. I already run a bunch of containers on servers at home and work, and running a "Zed server" of some sort would be fabulous.

I also wonder (I haven't looked yet) how Zed communicates with its server process over SSH, and if this could be accomplished over some other protocol. Is it possible SSH could be a speed (or latency) bottleneck on high-speed networks?

Re: SSH Remoting

#165
post #74
post #43

Earlier quoted context omitted.

Intellij IDEA does that too, and the installer is a very big file. I suspect an entire headless IDE is installed in the remote host.

Jetbrains provide an option to use their lightweight remote development gateway[1] and not have the IDE installed on the local machine at all. [1] https://www.jetbrains.com/remote-development/gateway/

Gateway is just a launcher. It installs the ide both remote and local.

Re: SSH Remoting

#166
post #154
post #17

Earlier quoted context omitted.

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).

Thank you both for sharing the experience. I'm tempted to go lightweight laptop + beef server. Do you get used to the the input delay? I guess coding is not a FPS game so it's fine. Just a flow of words being edited.

Do you get used to the input delay?

The input delays are very dependent on where the server is and what it is doing. If the server is idle and close by (ping wise) delay is virtually indistinguishable from local VSCode. If I'm connecting to the server via a VPN in a different country while stressing all the cores with some background compiling or number crunching work, input delay gets quite noticeable.

Re: SSH Remoting

#167
post #44

Zed with SSH Remoting and Orbstack is pretty much my dream setup for programming on a Mac. I can now spin up a Linux machine in Orbstack[0] in a few seconds and then SSH into it from Zed for a fast Linux development environment with a fast macOS native editor. It feels a bit like the macOS version of WSL and VSCode. Just a whole lot nicer (subjective of course)! A couple of years ago I was inspired by what Mitchell H…

[flagged]

I'm charitably reading it as "if I must develop on a Mac, this is a great way" :)

Re: SSH Remoting

#168
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?

Zed still doesn't have Windows version (but someone is working on it), so currently no.

Re: SSH Remoting

#169
post #59

Used Zed for a week or so, loved it! But the lack of mypy / git integrations forced me back to VS-code :'(

Yeah, while I'm pretty happy with git in the terminal, I'm eager to see what Zed's take on a git workflow will look like. The inline git blame info is nice, but a UI for committing and push/pulling the repo would be great.

Re: SSH Remoting

#170
post #44

Zed with SSH Remoting and Orbstack is pretty much my dream setup for programming on a Mac. I can now spin up a Linux machine in Orbstack[0] in a few seconds and then SSH into it from Zed for a fast Linux development environment with a fast macOS native editor. It feels a bit like the macOS version of WSL and VSCode. Just a whole lot nicer (subjective of course)! A couple of years ago I was inspired by what Mitchell H…

[flagged]

[deleted]
Post reply on HN