Edge.js: Run Node apps inside a WebAssembly sandbox

No Docker, full Node: devs hype, nitpick, and ask “browser when”

TLDR: Wasmer’s Edge.js claims to run normal Node apps in a safer, faster-to-start sandbox without Docker. Commenters split between “clever Node remix” and “game-changer,” with big asks for a browser version, iOS support, and Electron sandboxing—plus raised eyebrows that it was built in weeks using AI.

Edge.js just dropped from the Wasmer crew, promising to run regular Node.js apps inside a safer WebAssembly sandbox—aka a tiny, locked-down computer inside your app—without containers like Docker. And the internet did what it does best: cheer, question, and poke. Founder syrusakbary swaggered in with “we built it in weeks” and admitted they used AI heavily, setting off a mini-gasp and a lot of curiosity.

The hottest debate? Whether this is a “new thing” or just a clever remix of Node. One commenter summed up the skeptical vibe as a “refactor of Node,” while others were starry-eyed about a “lighter weight way to sandbox JS.” Devs immediately asked the real question: can it run in the browser? User willquack basically yelled “Node in the web when?!” and the crowd nodded vigorously. Meanwhile, MillionOClock asked if it can run on iOS—cue visions of app-store-friendly, sandboxed servers—and pscanf wondered if Electron apps could harness their own V8 engine to keep AI-generated scripts in a box.

The vibe is runtime wars, round 47: Edge.js promises full Node compatibility, swappable JS engines, and a “safe mode” that sandboxes only the dangerous stuff. Fans love the “no Docker, fast start” dream; skeptics squint at the details. Jokes flew—“Docker who?” “Edge but for real edge?”—while everyone agrees: if this really delivers speed and safety, serverless and AI bots just got spicier.

Key Points

  • Wasmer open-sourced Edge.js, a runtime to run existing Node.js apps safely inside a WebAssembly-based sandbox.
  • Edge.js preserves full Node.js (v24) compatibility and semantics, including native modules, while sandboxing system calls and native code via WASIX.
  • It features a pluggable JS engine architecture (e.g., V8, JavaScriptCore, QuickJS) and a --safe mode to enable secure execution without Docker.
  • Edge.js aligns with Node’s dependency stack (libuv, simdutf, ada, llhttp, ncrypto, ares) to maintain behavior fidelity.
  • Current performance is within ~5–30% of native Node.js speed when --safe is enabled, with goals to improve startup, density, and runtime efficiency.

Hottest takes

"a refactor of Node.js, but using a standardized API for JS engine interop" — alex_reg
"We built Edge.js in a few weeks" — syrusakbary
"Dumb question: could you run this in frontend js ... It'd be cool to have "nodejs" in the web!" — willquack
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.