Hacker News new | ask | show | jobs
by headmelted 3353 days ago
Totally agreed, the Monaco component is already in place and pre-dates VS Code.

It raises queries about what you do after the editor is running though (i.e. where does your terminal live? What about your interpreters/compilers?).

It quickly gets to the point of looking at SSH to another box like Cloud9 does it, at which point you may as well just run Code there and remote to it.

1 comments

Not really buying it. Sending each keystroke and paint update over the network isn't a great experience on slow networks; even just ssh has noticeable lag. (Mosh is designed to fix this, but it's not trusted in most places yet.)

Being able to run the UI locally and using ssh to load/save edits to files seems like a better way to deal with latency.

Huh? For an editor in the browser you don't send every keystroke and paint update over the network. The UI is effectively local, you would only need to send regular network updates for 'autosave', and it wouldn't be to keystroke granularity.
I meant the part about "may as well just run Code there and remote to it". Running in the browser reduces latency when it avoids a round trip.
Ah I missed that, sorry.