4 ms·
They also have native Rust libraries - I just made a worker that's an SMS gateway for Canadian tide data, it was a really fun project.
by _whiteCaps_ 5y ago
They also have native Rust libraries - I just made a worker that's an SMS gateway for Canadian tide data, it was a really fun project.
- afiori 5y agoOn cloudflare I am almost sure that Rust is supported with compilation to WebAssembly.
- _whiteCaps_ 5y agoAh yes, thanks for pointing out that it's compiled to WASM... I meant in comparison to other languages like Python were it's compiled (transpiled?) to Javascript: https://developers.cloudflare.com/workers/platform/languages#compiled-to-javascript https://developers.cloudflare.com/workers/platform/languages... Using Python for Workers was weird, and it felt like you needed to be both a Python and JS expert to make it work.
- samhw 5y agoIt is indeed - but why is that relevant, or somehow undesirable?
- afiori 5y agoIt is not undesirable in the least, it was a response to "native" which for rust usually means "compiled to x86/arm/risc-v/etc
- anonGone73 5y agoRust and WASM with some combination of Container Orchestration through block-chained nodes which only come online when you are not using your phone and willing to power the transactions. Cloudflare Workers and KV @ the Edge can do a lot to manage the control plane.