effection VS kal

Compare effection vs kal and see what are their differences.

kal

A powerful, easy-to-use, and easy-to-read programming language for the future. (by rzimmerman)
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
effection kal
5 2
490 396
7.4% -
9.3 10.0
about 2 months ago almost 10 years ago
TypeScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

effection

Posts with mentions or reviews of effection. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-31.
  • Bun, JavaScript, and TCO
    4 projects | news.ycombinator.com | 31 Dec 2023
    While working on effection (https://github.com/thefrontside/effection) we spent a bunch of time ensuring that our delimited continuations could handle deep recursive call stacks in Deno.

    PR: https://github.com/thefrontside/continuation/pull/11

    TCO would have definitely simplified this issue.

    What’s worse is hitting maximum memory callstack exception is very tricky to catch and is not reliable across runtimes. So when a user hits it it can be tricky to track down.

  • Effection 3.0 – Structured Concurrency and Effects for JavaScript
    3 projects | news.ycombinator.com | 18 Dec 2023
    `redux-saga` maintainer here.

    I've been using `effection` to build a replacement for `redux-saga` over at https://github.com/neurosnap/starfx

    Effection has demonstrated to me how truly powerful delimited continuations are and why structured concurrency is an incredible asset for anything that requires async flow control -- basically everything in TS/JS.

    I know sometimes it's hard to imagine why someone would need structured concurrency or care about delimited continuations for a front-end application, but this is a game changer in terms of expressing async flow control.

    Some things to note about Effection:

    - API surface area is small https://github.com/thefrontside/effection/issues/851

    - It tries to stay as close to JS constructs as possible so it will feel very familiar

    - Resource cleanup is automatic (when a function passes out of scope all descendent tasks are shut down automatically)

    - End-user doesn't need to think about delimited continuations

    The only leap users need to "deal with" coming from async/await is the syntax.

        import { main, call } from "effection";
  • Internals of Async / Await in JavaScript
    5 projects | news.ycombinator.com | 1 Sep 2023
    - 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

  • Philosophy of Coroutines
    7 projects | news.ycombinator.com | 1 Sep 2023
    https://github.com/thefrontside/effection/tree/v3
  • Effection: Structured concurrency and effects framework for JavaScript
    1 project | news.ycombinator.com | 2 Jul 2022

kal

Posts with mentions or reviews of kal. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-01.
  • Internals of Async / Await in JavaScript
    5 projects | news.ycombinator.com | 1 Sep 2023
    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

  • Please Put Units in Names
    12 projects | news.ycombinator.com | 20 Mar 2022

What are some alternatives?

When comparing effection and kal you can also consider the following projects:

myproxy - MySQL proxy

NodaTime - A better date and time API for .NET

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

phpmnd - PHP Magic Number Detector

assembly - assembly projects

SI - A header only C++ library that provides type safety and user defined literals for physical units

libcommon - Library of reusable C++ code

durationcheck - Go linter to detect erroneous multiplication of duration values

Async Ruby - An awesome asynchronous event-driven reactor for Ruby.

continuation - Delimited Continuations for JavasScript

async-ray - Provide async/await callbacks for every, find, findIndex, filter, forEach, map, reduce, reduceRight and some methods in Array.

Unchained - A fully type safe, compile time only units library.