Tuesday, June 22, 2021

node.js "web containers" in Chrome web browser

JavaScript run directly in Chrome, only "native" parts of node.js run compiled to WASM.

not open source (yet). 

mostly intended for development tools / environment.

claims to be 20% faster than "native" node.js 

also mentioned "OS in browser" also running on WASM. 

interesting... 

Running Node natively in the browser with Eric Simons from StackBlitz (JS Party #178) |> Changelog


Introducing WebContainers

Key WebContainer Components
  • Virtual File System with lazy-loading capabilities
  • Virtual Networking
  • Multi-threaded/multi-process application support
  • Inter-Process communication/process signaling
  • POSIX-esque shell with ability to shell out between processes