News for hackers. Stuff that matters.
Re:Browser-Vite – Vite in the Browser by sytse on Wednesday January 05, 2022 @12:59PM (#29812511)
This is made by StackBlitz (not really, see reply to this comment https://news.ycombinator.com/item?id=29812650 ) who make a Cloud IDE that runs in the browser instead of a server. As for the why of that see https://blog.stackblitz.com/posts/introducing-webcontainers/ "What about Code Spaces/Sandbox/Repls/...? Legacy online IDEs run your entire dev environment on a remote server and stream the results back across the internet to your browser. The problem with this approach is that it yields few security benefits and provides a worse experience than your local machine in nearly every way: it takes minutes to spin up containers, is prone to network latency, cannot work offline, often results in network timeouts, debugging frozen/broken containers is nearly impossible, and hitting refresh just reconnects you to the broken container again."
Re:Browser-Vite – Vite in the Browser by georges_gomes on Wednesday January 05, 2022 @01:08PM (#29812650)
WebContainers are made by Stackblitz but the link is about `browser-vite` [0]. It's made by ‹div›RIOTS [1] and it's something else. There is a chapter in the post that compares `browser-vite` and `WebContainers` [2].

[0] https://github.com/divriots/browser-vite

[1] https://divRIOTS.com

[2] https://divriots.com/blog/vite-in-the-browser#how-does-it-co...

Re:Browser-Vite – Vite in the Browser by sytse on Wednesday January 05, 2022 @01:34PM (#29813018)
Thanks for the correction!