3 ms·
> So I decided to roll my own, using a Rust library and Cloudflare workers. What is Cloudflare workers Rust support is like? I'd be a a complete Rust noob and
by xenodium 3y ago
> So I decided to roll my own, using a Rust library and Cloudflare workers.
What is Cloudflare workers Rust support is like? I'd be a a complete Rust noob and looking for a dev environment with some code completion. Is that feasible today? Could you share your dev environment?
- splittydev 3y agoThe documentation from Cloudflare isn't too great, but you can look at the badgers-worker code for inspiration. I personally use VS Code, with the rust-analyzer extension. I use Rust a lot, and I'm very satisfied with the code completion quality that rust-analyzer provides. Cloudflare's wrangler tool provides easy local debugging for workers, but its live-reload doesn't work too well, so you have to frequently restart.
- splittydev 3y agoAdding to that, Rust really isn't such a fringe language anymore. It's used in production all over the world, at huge companies such as Google, Meta, Microsoft, Netflix, etc. and it powers like 75% of the large crypto companies. The dev tools are high-quality, and there are lots of learning resources available. The language itself is mature too, and very stable.
- xenodium 3y agoThis is really encouraging! I'm keen to experiment with Cloudflare and Rust. Thank you for sharing.