4 ms·
I would like to see CloudFlare implement workers with WASM as the first class citizen, and a general purpose API not tied to JS workers. Up until now you've be
by adam_arthur 3y ago
I would like to see CloudFlare implement workers with WASM as the first class citizen, and a general purpose API not tied to JS workers.
Up until now you've been able to deploy WASM code (e.g. effectively can use any language), but it runs within a JS context, rather than natively.
Just a bit more overhead/awkwardness in deployment. I believe eventually all services will be deployed directly to WASM (securitized) runtimes, rather than via containers, similar to how we moved from images -> containers).
There's very little benefit currently to trying to use something like Rust on the edge (in CF), because a lot of the perf advantage is negated by the overhead and startup times.
e.g. https://github.com/WasmEdge/WasmEdge https://github.com/WasmEdge/WasmEdge