async_unix
Jane Street Capital's asynchronous execution library (unix) (by janestreet)
async_kernel
Jane Street Capital's asynchronous execution library (core) (by janestreet)
async_unix | async_kernel | |
---|---|---|
1 | 1 | |
33 | 58 | |
- | - | |
6.2 | 6.1 | |
7 days ago | 7 days ago | |
OCaml | OCaml | |
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.
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.
async_unix
Posts with mentions or reviews of async_unix.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-25.
-
Better logging for OCaml + Async
Async comes with a logging module that is easy to use and provides a simple interface that allows logging at a specific level and attaching some tags along with a message payload.
async_kernel
Posts with mentions or reviews of async_kernel.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-25.
-
Better logging for OCaml + Async
A more robust approach would be if every function that needed to log something could look up a unique identifier that's currently active in its context. Blocking applications that use pre-emptive threads can rely on thread-local-storage for this use case and maintain a stack of context ids that can be used by the logging system to determine the current active context id and automatically attach it to a log event. This approach doesn't work for user-mode threaded systems as a single thread can switch between various tasks or systems where a task could potentially jump across threads. Async provides a solution for such context propagation that works at the task level and is naturally called ExecutionContext. Every Async task runs within an execution context, and the context object offers users to append some metadata to its local storage.