Re:WebContainers: Run Node.js natively in the browser
by Ajedi32 on Thursday May 20, 2021 @03:23PM
(#27225828)
It can't access the file system, but it could implement an API that emulates a file system inside the browser sandbox. Presumably that's what they're doing here.
[ Parent
| on HN ]
Re:WebContainers: Run Node.js natively in the browser
by kllrnohj on Thursday May 20, 2021 @08:11PM
(#27229049)
But you can do that same API emulation in regular browser JavaScript, too. What's the WASM intermediate buying here?
Re:WebContainers: Run Node.js natively in the browser
by maple3142 on Thursday May 20, 2021 @09:35PM
(#27229580)
I think it is more complicated to emulate those api in normal browser environment compared to emulating some OS api for running node.js.