Portable and Interoperable Async Rust

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

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

    Effects-based direct-style IO for multicore OCaml

  • OCaml is currently going through something similar, with some solutions in sight. The "motivation" part of the eio (https://github.com/ocaml-multicore/eio) documentation is a great introduction:

    "The Unix library provided with OCaml uses blocking IO operations, and is not well suited to concurrent programs such as network services or interactive applications. For many years, the solution to this has been libraries such as Lwt and Async, which provide a monadic interface. These libraries allow writing code as if there were multiple threads of execution, each with their own stack, but the stacks are simulated using the heap.

    The multicore version of OCaml adds support for "effects", removing the need for monadic code here. Using effects brings several advantages:

    1. It's faster, because no heap allocations are needed to simulate a stack.

    2. Concurrent code can be written in the same style as plain non-concurrent code.

    3. Because a real stack is used, backtraces from exceptions work as expected.

    4. Other features of the language (such as try ... with ...) can be used in concurrent code.

    Additionally, modern operating systems provide high-performance alternatives to the old Unix select call. For example, Linux's io-uring system has applications write the operations they want to perform to a ring buffer, which Linux handles asynchronously."

  • ocaml-effects-tutorial

    Concurrent Programming with Effect Handlers

  • There are lots of informations in "Concurrent Programming with Effect Handlers" (https://github.com/ocamllabs/ocaml-effects-tutorial) on what it looks like and how it's implemented. There are also more recent informations on the September 2021 edition of the Multicore OCaml newsletter: https://discuss.ocaml.org/t/multicore-ocaml-september-2021-e..., with a link to a paper about effects in OCaml.

  • 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

  • Dream-HTML – render HTML, SVG, MathML, Htmx markup from OCaml

    1 project | news.ycombinator.com | 30 Apr 2024
  • Semgrep: Semantic Grep for Code

    1 project | news.ycombinator.com | 30 Apr 2024
  • Pen is a Compiler that compiles the High-Level Language into EVM bytecodes

    1 project | news.ycombinator.com | 30 Apr 2024
  • Austral: A systems language with linear types. (2021)

    1 project | news.ycombinator.com | 25 Apr 2024
  • Lolita: A tagless, dependently typed, self-aware programming language

    1 project | news.ycombinator.com | 22 Apr 2024