Re:WebContainers: Run Node.js natively in the browser
by emteycz on Thursday May 20, 2021 @04:51PM
(#27227059)
I think the issue isn't with Wasm support, it's the filesystem API. They could've included a polyfill though... But as that API is new it might not be available yet.
[ Parent
| on HN ]
Re:WebContainers: Run Node.js natively in the browser
by dfabulich on Thursday May 20, 2021 @05:23PM
(#27227479)
It's the "File System Access API," the one that allows the browser to read/write files on your actual computer. It's an I/O feature, impossible to polyfill.
The similarly named "FileSystem API" gives you access to a sandboxed "virtual drive" in the browser. Firefox has supported that for years, and polyfills are possible, but it's irrelevant in this case.