WebContainers: Run Node.js natively in the browser
21–30 of 238 posts
Re: WebContainers: Run Node.js natively in the browser
#22Re: WebContainers: Run Node.js natively in the browser
#23Hi all- CEO of StackBlitz/author of this blog post here. Happy to answer any questions! (Also, thanks for posting this bpierre!)
It sounds like each native binary gets compiled to a WebAssembly binary, but how do they communicate? How are the network and file system implemented? Are parts of the file system persistent? How does a system call work?
Re: WebContainers: Run Node.js natively in the browser
#24Someday, I'd like to see Wasi-based webassembly containers. It'd be awesome to spin up a sandboxed shell with file access in a webpage.
Re: WebContainers: Run Node.js natively in the browser
#25Is wasm in a browser somehow considered native now?
Re: WebContainers: Run Node.js natively in the browser
#26What about this is "native"? The page says it is "running natively" but also says "All code execution happens inside the browser's security sandbox". Is wasm in a browser somehow considered native now?
Re: WebContainers: Run Node.js natively in the browser
#27I'm trying to get my head around how the networking of it works. Is local.webcontainer.io being overridden somehow on the browser like a hosts file might do? Trying to figure out how I'm hitting that URL from another tab
Re: WebContainers: Run Node.js natively in the browser
#28What about this is "native"? The page says it is "running natively" but also says "All code execution happens inside the browser's security sandbox". Is wasm in a browser somehow considered native now?
Re: WebContainers: Run Node.js natively in the browser
#29Someday, I'd like to see Wasi-based webassembly containers. It'd be awesome to spin up a sandboxed shell with file access in a webpage.
why do you want to spin up a shell with file access in a webpage?
Re: WebContainers: Run Node.js natively in the browser
#30Alright, so you can create an IDE in the browser, but, what else? I'm just not seeing the value in running servers in your browser. Presumably, most sites will still need to connect to a remote back-end services to get at data and whatnot, and that back-end isn't going to be running locally on a customer's web browser.