Are there some examples of cloudflare workers with rust-wasm directly?

I was checking fastly computing edge, and it is possible to create functions with pure rust. From the examples I have seen on cloudflare you can invoke rust wasm from javascript. Are there something like compute edge with cloudflare workers?

You can definitely use Rust! This page details how to do that: https://developers.cloudflare.com/workers/tutorials/hello-world-rust

1 Like

Yes, but looking at the example you need to call the wasm module from the workers.js right? In this case I will need a javascript interpreter. Does It involves some kind of performance penalty compared to the fastly pure wasm?

1 Like