Na_Nov_02

workerd – JavaScript and WebAssembly server runtime

workerd is a JavaScript and WebAssembly server runtime based on the same code that powers Cloudflare Workers.

It can be used to self-host Workers applications, develop and test them locally, or build programmable forward and reverse HTTP proxies.

The runtime follows web platform standards and supports dividing applications into independently deployable nanoservices. These services can communicate within the same thread and process, avoiding much of the overhead associated with conventional networked microservices.

workerd is designed for server deployments and uses capability-based bindings to connect services and external resources. It supports compatibility dates, allowing applications to retain the API behaviour associated with an earlier Cloudflare Workers release.

This is free and open source software.

Key Features

  • Runs JavaScript and WebAssembly server applications.
  • Uses the same core runtime technology as Cloudflare Workers.
  • Self-hosts applications developed for the Cloudflare Workers platform.
  • Supports local development and testing of Workers applications.
  • Functions as a programmable forward or reverse HTTP proxy.
  • Provides standards-based web APIs including fetch().
  • Divides applications into independently deployable nanoservices.
  • Allows services to communicate through efficient local function calls.
  • Uses capability-based bindings instead of global namespaces.
  • Supports compatibility dates for maintaining earlier API behaviour.
  • Uses configuration files written in Cap’n Proto text format.
  • Supports socket activation and inherited sockets for systemd deployments.
  • Runs on Linux and macOS on x86-64 and ARM64 systems.
  • Supports Windows on x86-64 systems.
  • Offers prebuilt binaries through npm.

Website: github.com/cloudflare/workerd
Support:
Developer: Cloudflare
License: Apache License 2.0

workerd is written in C++. Learn C++ with our recommended free books and free tutorials. Learn JavaScript with our recommended free books and free tutorials. Learn TypeScript with our recommended free books and free tutorials.


Related Software

JavaScript Runtime Environments
Node.jsHugely popular cross-platform JavaScript run-time environment
BunFast JavaScript runtime designed as a drop-in replacement for Node.js.
DenoSimple, modern and secure runtime for JavaScript and TypeScript that uses V8
WasmEdgeHigh-performance, and extensible WebAssembly runtime
txiki.jsSmall and powerful JavaScript runtime
JerryScriptJavaScript engine for the Internet of Things
Window.jsJavaScript runtime for desktop graphics programming
BlueboatMulti-tenant serverless JavaScript runtime
loSuccessor project to Just
JustVery small v8 JavaScript runtime

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted