rcu

Read-Copy-Update for Haskell

http://github.com/ekmett/rcu/

Version on this page:0.2.4@rev:1
LTS Haskell 22.37:0.2.7
Stackage Nightly 2024-10-09:0.2.7
Latest on Hackage:0.2.7

See all snapshots rcu appears in

BSD-3-Clause licensed by Ted Cooper and Edward A. Kmett
This version can be pinned in stack with:rcu-0.2.4@sha256:0bdeba2fc2ddcff1c87de07f6429282511f7523cef50cde27393638552e9741d,12874

rcu

Hackage Build Status

This package is an exploration of Read-Copy Update in Haskell based on Relativistic Programming in Haskell by Cooper and Walpole. It includes a sound QSBR-based implementation and an attempt at an STM-based implementation.

In the spirit of A Relativistic Enhancement to Software Transactional Memory by Howard and Walpole, we could extend the STM implementation to allow reads and writes on the same data in parallel, writes to disjoint data in parallel, and force readers to agree that writes before a synchronize happened before writes after it.

Development on this project proceeded in a burst of enthusiasm after Edward saw Ted’s poster presentation at ICFP 2015, and yet somehow he managed to shanghai Ted into helping maintain this copy of his own work.

Contact Information

Contributions and bug reports are welcome!

Please feel free to contact us through github or on the #haskell IRC channel on irc.freenode.net.

-Edward Kmett and Ted Cooper

Changes

0.2.4 [2019.05.02]


  • Support building with base-4.13 (GHC 8.8).

0.2.3 [2018.08.01]


  • Add MonadFail instances for ReadingRCU and WritingRCU.

0.2.2 [2018.02.06]


  • Include HLint.hs with the tarball distribution, fixing the hlint test suite.

0.2.1


  • Support doctest-0.12

0.2


  • Revamp Setup.hs to use cabal-doctest. This makes it build with Cabal-2.0, and makes the doctests work with cabal new-build and sandboxes.

0


  • Initial version