Internals of Async / Await in JavaScript

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • kal

    A powerful, easy-to-use, and easy-to-read programming language for the future.

  • It's obsolete now, but before async/await was part of JS proper I worked on a compile-to-JS language that handled this by compiling to callbacks: https://github.com/rzimmerman/kal

    It included try/catch support and fancy stuff, like loops. The source may be interesting for anyone interested in compilers: https://github.com/rzimmerman/kal/blob/master/source/generat...

    The Kal compiler is written in Kal, but it's supposed to be easy to read. Surprisingly the browser demo still works: http://rzimmerman.github.io/kal/demo.html

  • redux-saga

    An alternative side effect model for Redux apps

  • The whole article properly the best explanation of generators I have come across. This quote stuck out:

    > Generators are a special type of function that can return multiple pieces of data during its execution. Traditional functions can return multiple data by using structures like Arrays and Objects, but Generators return data whenever the caller asks for it, and they pause execution until they are asked to continue to generate and return more data.

    Applications of generators? I have only used Redux-Saga[1]. Can't even think of other libraries that use them, but would be interested in learning.

    [1]: https://redux-saga.js.org/

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • continuation

    Delimited Continuations for JavasScript

  • - https://github.com/thefrontside/continuation

    - https://github.com/thefrontside/effection/tree/v3

    - https://github.com/neurosnap/starfx

    The last one intends to replace redux-saga using DCs.

    Here’s a presentation I gave recently talking about DCs in typescript: https://youtu.be/uRbqLGj_6mI?si=XI0JNMKMoO2VHMvM

  • effection

    Structured concurrency and effects for JavaScript

  • - https://github.com/thefrontside/continuation

    - https://github.com/thefrontside/effection/tree/v3

    - https://github.com/neurosnap/starfx

    The last one intends to replace redux-saga using DCs.

    Here’s a presentation I gave recently talking about DCs in typescript: https://youtu.be/uRbqLGj_6mI?si=XI0JNMKMoO2VHMvM

  • starfx

    A modern approach to side-effect and state management for web apps.

  • - https://github.com/thefrontside/continuation

    - https://github.com/thefrontside/effection/tree/v3

    - https://github.com/neurosnap/starfx

    The last one intends to replace redux-saga using DCs.

    Here’s a presentation I gave recently talking about DCs in typescript: https://youtu.be/uRbqLGj_6mI?si=XI0JNMKMoO2VHMvM

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts