How do CloudFlare Workers work?

1 · Matouš Dzivjak · March 8, 2023, midnight
V8 Isolates is the cool tech behind CloudFlare Workers. The same technology powers Deno Deploy, Fastly Compute@Edge, Vercel Serverless Functions, and more. Isolates are lightweight contexts that encapsulate application data (variables and code). V8, the underlying javascript and WebAssembly engine, then ensures that isolates are executed in a safe and isolated environment. Let’s take a look at how CloudFlare workers work by creating minimal serverless functions runtime in Rust. Hello world Befor...