5 ms·
Announcement is here: https://blog.cloudflare.com/just-write-code-improving-developer-experience-for-cloudflare-workers/ https://blog.cloudflare.com/just-write-
by jgrahamc 7y ago
Announcement is here: https://blog.cloudflare.com/just-write-code-improving-developer-experience-for-cloudflare-workers/ https://blog.cloudflare.com/just-write-code-improving-develo...
- stingraycharles 7y agoWhat I always wonder about is how one can write "non-trivial" stuff using CloudFlare workers. Don't get me wrong, I am more than intrigued by the concept, but as far as I understand, it cannot do things like connecting to a database or third party service. That makes the types of problems you can solve with it relatively small. This is confirmed what I see if I look at the Cloudflare marketplace: it has apps for things such as cookie banners and automated GA integration, but that's not that interesting. What's the long-term vision for this?
- rita3ko 7y agoI might misunderstand what you mean by third party service, but today you can connect to any service on the Internet (including databases like Firestore) with Workers using fetch() [1]. We're building out our storage products -- we started with Workers KV, our distributed Key-Value store, and will to continue expanding our offering to support more use cases. You won't be able to build everything with Workers right away, but we've seen customers solve really interesting problems with it. As we add functionality to support more and more use cases, we expect Workers to grow into a really powerful platform. Note that Cloudflare Workers is a different product from Cloudflare Apps (which is what you see on the Marketplace). Cloudflare Apps does allow developers who want to distribute their Worker to other Cloudflare customers to do so, using Apps with Workers. [1] More on fetch() here: https://workers.cloudflare.com/docs/reference/runtime/apis/fetch/ https://workers.cloudflare.com/docs/reference/runtime/apis/f...
- yeppie 7y ago> We're building out our storage products -- we started with Workers KV, our distributed Key-Value store, and will to continue expanding our offering to support more use cases. I have no affiliation, but would love to see a partnership with Dgraph.. Feels like a perfect match for both parties.
- geofft 7y agoFascinating, Wrangler is in Rust but installed through npm? I guess you did some market research and determined that more of your target audience would have npm installed than cargo, and then stuffed the compiled binary in an npm package or something?
- steveklabnik 7y agoIt’s also just a nicer experience; let each audience install in the way that feels natural to them. And since binary releases are being built anyway, why make npm users wait on the Rust compiler. We’re not the first to do this, by the way. This is how ripgrep is integrated into VS: Code, in my understanding.