Backend

F# on the edge — one module, many platforms

Backend modules written in F#, compiled to WebAssembly GC, run on Cloudflare Workers (with a Durable Object), Vercel, Netlify, Deno, Bun and Node: a small host, one adapter per platform, the same answers everywhere.

Status: not deployed yet

There is no live URL to open yet, and we would rather say so than show a screenshot. In our test matrix the same module answers identically on every platform below. The first deployments (Cloudflare first, then Vercel and Netlify) are the next step, and the live Ghost Todo will be linked here as soon as an address answers. Until then, run it yourself from the repository: npm ci && node build/package.mjs && node dist/platforms/node/index.mjs.

What it is

Write the server in F#, ship it as a small module

One module

Ghost Todo, the demo, is 47 KB of WebAssembly GC: a todo list whose every change is a binary patch that a client applies to a shadow copy.

A small host

The core turns a web-standard Request into a call of the module and back; each platform adds a few lines of adapter and its configuration.

The same answers

Twenty-six checks run on every platform and the transcripts are compared: unicode, patches, parallel requests, errors, CORS. A platform that answers differently is a finding.

What is verified

Eight targets, and how real each one is

Runtime means the platform's own engine; emulation means a stand-in for it. None of them is deployed yet.

Platforms in the test matrix, what runs there and how real that is
PlatformWhat runs in the testHow real
Node 24the packaged adapter, as a processthe platform's own runtime
Bun 1.4the packaged adapter, as a processthe platform's own runtime
Deno 2.9 / Deno Deploythe packaged adapter, as a processthe platform's own runtime
Cloudflare Workersthe Worker and the Durable Object on workerdthe platform's runtime and its Durable Object storage
Vercel Edge Functionsthe edge adapter in the Edge Runtime sandboxan emulation; Vercel itself is not exercised
Vercel Functions (Node)the Node adapter's handlers, called in Node 24the handler contract
Netlify Edge Functionsthe edge adapter under DenoNetlify's edge runtime is Deno; its bundler is not exercised by the matrix
Netlify Functionsthe function's handler, called in Node 24the handler contract

Where it is going

Planned, not done

We list what exists and what is intended apart.

Real deployments

Cloudflare, Vercel and Netlify, checked by the same 29 checks against the live addresses, with the addresses published here.

WebAssembly components

Modules described by WIT worlds and linked by the host. A first experiment shows a GC module can be a component; the compiler work is next.

Accessible interfaces

A typed F# DSL for the host, and a GUI layer that renders semantic, accessible HTML — not everything can be WebAssembly drawing pixels.