Haskell Concurrency

Open-source Haskell projects categorized as Concurrency

Top 23 Haskell Concurrency Projects

Concurrency
  1. haxl

    A Haskell library that simplifies access to remote data, such as databases or web-based services.

    Project mention: Functors, Applicatives, and Monads | news.ycombinator.com | 2025-03-30

    For some reason everyone wants to talk about Monads, but really the other types here are just as interesting. For example, Applicatives are less dynamic than Monads in that you can't `flatMap`/`bind` to decide on the "next" thing to evaluate based on the previous value, but in exchange you get a "static" tree (or graph) of Applicatives that lends itself much better to static analysis, optimization, parallelism, and so on.

    For example, Haxl (https://github.com/facebook/Haxl) uses this to optimize and parallelise remote data fetching, which is hard to do with Monads since those are inherently sequential due to the nature of `flatMap`/`bind`. My own Mill build tool (https://mill-build.org/) uses an applicative structure for your build so we can materialize the entire build graph up front and choose how to parallelize it, query it, or otherwise manipulate it before we actually start evaluating the individual steps

    Monads seem to have this strange aura around them that attracts certain kinds of personalities, but really they're just one abstraction in a whole toolkit of useful abstractions, and there are many cases where Applicative or some other construct are much more suited

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. streamly

    High performance, concurrent functional programming abstractions

  4. transient

    A full stack, reactive architecture for general purpose programming. Algebraic and monadically composable primitives for concurrency, parallelism, event handling, transactions, multithreading, Web, and distributed computing with complete de-inversion of control (No callbacks, no blocking, pure state)

  5. async

    Run IO operations asynchronously and wait for their results (by simonmar)

  6. NeoHaskell

    ⏩ NeoHaskell is a dialect of Haskell that is focused on newcomer-friendliness and productivity.

    Project mention: Fighting spam with Haskell at Meta (2015) | news.ycombinator.com | 2024-12-22

    Haskell could be a great practical language if some constraints were introduced, e.g. limiting the language extensions used. https://www.simplehaskell.org attempted to do this and, currently, https://neohaskell.org is going in the same direction. After all, Haskell '98 is not that hard.

    Personally, I think Haskell, or something like Haskell, is going to be reasonably popular in the near future. Functional programming and an expressive type system are great for ML-powered synthesis. You provide the type signature, and the machine fills in the function body. Furthermore, with dependent or refinement types, the solution can be verified to be correct.

  7. async-dejafu

    Systematic concurrency testing meets Haskell.

  8. unagi-chan

    A haskell library implementing fast and scalable concurrent queues for x86, with a Chan-like API

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. chaselev-deque

    A collection of different packages for CAS based data structures.

  11. fraxl

  12. ki

    A structured concurrency library

  13. lvish

    The LVish Haskell library

  14. scheduler

    A work stealing scheduler (by lehins)

  15. stm-containers

    Containers for STM

    Project mention: Concurrency in Haskell: Fast, Simple, Correct | news.ycombinator.com | 2025-04-16

    https://hackage.haskell.org/package/stm-containers

    This library is full of STM-oriented data structures. They perform better than a simple `TVar (Map k v)`.

    It's kind of a fun trick actually. The stock Map is just a tree. The STM Map is also a tree but with TVars at each node. So this helps a lot with contention - you only contend along a "spine" instead of across the whole tree, which is O(log n).

  16. mvc

    Model-view-controller

  17. capataz

    OTP-like supervision trees in Haskell

  18. pipes-concurrency

    Concurrency for the pipes ecosystem

  19. stm-conduit

    STM-based channels for conduits.

  20. restricted-workers

    Interactive-diagrams

  21. immortal

    Spawn threads that never die (unless told to do so) (by feuerbach)

  22. cspmchecker

    The library FDR3 uses for parsing, type checking and evaluating machine CSP.

  23. threads-supervisor

    Simple, IO-based Haskell library for Erlang-inspired thread supervisors

  24. promises

    lazy promises (by ekmett)

  25. lifted-async

    Run lifted IO operations asynchronously and wait for their results

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Haskell Concurrency discussion

Log in or Post with

Haskell Concurrency related posts

  • Concurrency in Haskell: Fast, Simple, Correct

    2 projects | news.ycombinator.com | 16 Apr 2025
  • Functors, Applicatives, and Monads

    2 projects | news.ycombinator.com | 30 Mar 2025
  • Announcing NeoHaskell v0.2.0: Bringing Elm-Inspired Architecture to CLI Apps

    1 project | dev.to | 27 Jul 2024
  • Simon Peyton Jones – Haskell is useless [video]

    2 projects | news.ycombinator.com | 18 Feb 2024
  • NeoHaskell

    1 project | news.ycombinator.com | 3 Oct 2023
  • NeoHaskell

    1 project | news.ycombinator.com | 2 Oct 2023
  • [ANN] Haskell Streamly 0.9.0 Release!

    6 projects | /r/haskell | 25 May 2023
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 19 Apr 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Index

What are some of the best open-source Concurrency projects in Haskell? This list will help you:

# Project Stars
1 haxl 4,299
2 streamly 888
3 transient 634
4 async 324
5 NeoHaskell 312
6 async-dejafu 197
7 unagi-chan 128
8 chaselev-deque 108
9 fraxl 89
10 ki 86
11 lvish 80
12 scheduler 75
13 stm-containers 68
14 mvc 63
15 capataz 62
16 pipes-concurrency 43
17 stm-conduit 41
18 restricted-workers 39
19 immortal 37
20 cspmchecker 30
21 threads-supervisor 29
22 promises 28
23 lifted-async 28

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai