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.
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
- Make the
IncCounterExperimentbenchmark compile with GHC 9.4.
- The build-type has been changed from
Simple. To achieve this, the
docteststest suite has been removed in favor of using
cabal-docspecto run the doctests.
- Support building with
HLint.hswith the tarball distribution, fixing the
cabal-doctest. This makes it build with
Cabal-2.0, and makes the
doctests work with
cabal new-buildand sandboxes.
- Initial version