TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The road to a more standards-compliant Workers API

2 pointsby areteover 2 years ago

1 comment

rektideover 2 years ago
It&#x27;s so wild &amp; weird how the official language keeps providing so little, but there&#x27;s more and more expectations &amp; standard library that&#x27;s expected. The extreme divergence is pretty incredible.<p>I think of, for example, &quot;promise cancellation&quot;, which was a long long long running saga of topics discussed in the old es-discuss mailing list. Today there is AbortSignal and AbortController, but these are actually specs from the DOM, even though they don&#x27;t really depend on any other DOM technology &amp; even though they are widely used as &quot;the&quot; way to do promise cancellation. Trying to evolve the language was just too hard. Also a lot of those ideas from back then were kind of not as good- we learned a lot &amp; AbortController kind of works decently, with what we&#x27;ve got (that said, AbortSignal is <i>core</i> proof that promises being async only was kind of bone headed- we immediately had to go invent an async+sync alternative, someplace a couple miles away, to make promise cancellation something doable in a reasonable fashion! (yet that &quot;Signal&quot; sync+async tech remains a single-use one-off!! eek!!)).<p>So we have a wider distributed set of folks doing &quot;standards&quot; in different places. Almost nothing gets folded back in to the langauge. Instead of having processes &amp; eventual growth of the language, taking the things that have in fact won &amp; bringing them in, there&#x27;s a very rag-tag acceptance. Governance is split up across a couple major entities. Changes percolate at varying rates to downstream specifications. WinterCG is interesting as like, the first people to get together to say, here&#x27;s what things from the sea-of-standards we should agree on. It&#x27;s the first union. Which has power to embrace, but still, has little power right now to shape &amp; influence the upstream standards, from a wide body of places, that it is consuming&#x2F;blessing. Wild stuff.