news.volyx.in

Workerd: Open-source Cloudflare workers runtime (blog.cloudflare.com)

689 points by kentonv · 1443 days ago · 133 comments on HN

Article summary

Cloudflare has released workerd, an open-source runtime for Cloudflare Workers, allowing developers to self-host applications and test them locally. workerd is designed to be portable and provides a production-ready web server for running Workers applications. It supports standardized APIs and can act as an application host, proxy, or both. workerd is a significant step towards creating a larger Workers ecosystem.

Main themes

  • Cloudflare Workers
  • Open-source runtime
  • Self-hosting
  • Vendor lock-in
  • Durable Objects
  • Stateful objects
  • Reliability and redundancy
  • File naming conventions

What commenters say

  • Releasing workerd helps to prevent vendor lock-in and allows developers to run their applications anywhere.
  • The release of workerd is a strategic move to create a larger Workers ecosystem and attract more developers.
  • Some commenters are skeptical about the benefits of workerd and question its usefulness compared to other solutions.
  • The ability to self-host applications with workerd is seen as a major advantage by some developers.
  • Durable Objects, a feature of Workers, is praised for its simplicity and effectiveness in managing stateful objects.
  • The reliability and redundancy of Durable Object storage are highlighted as key benefits.
  • Some commenters discuss the similarities and differences between Durable Objects and other technologies, such as Erlang actors and Microsoft Orleans.
  • The choice of file extension for workerd's codebase is criticized for being unconventional and potentially problematic.