If we can get for the fact that we require javascript to run it, aside from that. Cloudflare workers is literally the best single thing to happen at least to me. With a single domain, I have done so many personal projects for problems I found interesting and I built so many projects for literally free, no Credit card. No worries whatsoever.
I might ditch writing other languages for server based like golang even though I like golang more just because cloudflare workers exists.
However Workers supports WASM so you don’t necessarily have to switch to JavaScript to use it.
I wrote some Rust code that I run in Cloudflare Functions, which is a layer on top of Cloudflare Workers which also supports WASM. I wrote up the gory details if you’re interested:
https://127.io/2024/11/16/generating-opengraph-image-cards-f...
JavaScript is most definitely the path of least resistance but it’s not the only way.