Skip to content
Tech News
← Back to articles

Edge.js: Run Node apps inside a WebAssembly sandbox

read original get WebAssembly Runtime for Node → more articles
Why This Matters

Edge.js introduces a secure, high-performance JavaScript runtime that enables developers to run existing Node.js applications safely within a WebAssembly sandbox, eliminating the need for containers. Its compatibility and speed make it a significant advancement for edge computing and AI workloads, offering a more efficient and secure alternative to traditional containerization. This development could reshape how the industry approaches serverless and edge deployments, enhancing both security and scalability for consumers and developers alike.

Key Takeaways

Today we are incredibly excited to open source Edge.js, a JavaScript runtime specifically designed to safely run Node.js workloads for AI and Edge computing.

The goal is simple: run your existing Node.js applications safely and with density and startup times that are impossible to get with containers.

Edge.js takes a different approach from existing JS edge runtimes like Deno or Cloudflare Workers. Instead of introducing new APIs Edge.js preserves full Node compatibility and isolates the unsafe parts of execution using WebAssembly.

This allows existing Node.js applications and native modules to run unmodified while system calls and native modules are sandboxed through WASIX.

Edge.js is like Node.js: same architecture, same dependencies, and fully matching semantics.

Fully compatible with Node.js

Pluggable JS engine (V8, JavascriptCore or QuickJS)

(V8, JavascriptCore or QuickJS) Securely sandboxed when in --safe mode

TL;DR: all this means that you can now run your JS-based apps, MCPs, and agents safely sandboxed without Docker!

Edge.js story

... continue reading