libcommon VS continuation

Compare libcommon vs continuation and see what are their differences.

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
libcommon continuation
2 5
18 26
- -
9.8 4.5
6 days ago 2 months ago
C++ TypeScript
BSD 2-clause "Simplified" 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.

libcommon

Posts with mentions or reviews of libcommon. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-01.
  • Philosophy of Coroutines
    7 projects | news.ycombinator.com | 1 Sep 2023
    If you like Lua coroutines and C++20 coroutines, I have written a piece of code that allows to combine both: https://github.com/CM4all/libcommon/blob/master/src/lua/CoAw...

    It's used for example by our "myproxy" project: https://github.com/CM4all/myproxy/blob/master/src/Connection... (Ctrl-F Lua::CoAwaitable) - a Lua coroutine is launched from within a C++20 coroutine and the C++20 coroutine awaits the Lua coroutine. Everything integrated in a non-blocking I/O event loop.

  • C++20 Coroutines and Io_uring
    4 projects | news.ycombinator.com | 13 Nov 2022

continuation

Posts with mentions or reviews of continuation. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-03.
  • A more natural API for JavaScript generators
    4 projects | news.ycombinator.com | 3 May 2024
    JavaScript generators are unmined gold! We've done a lot of usage of JavaScript generators as delimited continuations; using them to implement the classic shift/reset operations in JavaScript. https://github.com/thefrontside/continuation

    Built on those delimited continuations is structured concurrency for JavaScript (https://frontside.com/effection)

  • 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.

  • 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
    These libraries rely on deliminited continuations:

    https://github.com/thefrontside/continuation

    Because of this tiny implementation we are able to express any async flow construct with less code than relying on something like async/await or callbacks.

What are some alternatives?

When comparing libcommon and continuation you can also consider the following projects:

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

assembly - assembly projects

effection - Structured concurrency and effects for JavaScript

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

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

myproxy - MySQL proxy

redux-saga - An alternative side effect model for Redux apps

WebKit - Home of the WebKit project, the browser engine used by Safari, Mail, App Store and many other applications on macOS, iOS and Linux.