@hackage strict-stm1.5.0.0
Strict STM interface polymorphic over stm implementation.
Categories
License
Apache-2.0
Maintainer
Duncan Coutts dunca@well-typed.com, Marcin Szamotulski coot@coot.me
Links
Versions
Deprecated
Dependencies (4)
- array
- base >=4.9 && <4.22
- io-classes ^>=1.5
- stm >=2.5 && <2.6 Show all…
Dependents (4)
@hackage/fs-sim, @hackage/resource-registry, @hackage/rawlock, @hackage/io-sim
Package Flags
asserts
(off by default)
Enable assertions
Strict Software Transaction Memory
The strict-stm package provides a strict interface to software transaction
memory. It builds on top of io-classes and thus it provides the interface
for both stm as well as io-sim.
Novel testing / space-leak elimination approach
The strict interface provides a novel way of testing/eliminating space-leaks
which might lurk in stm shared mutable variables. Together with the
nothunks library it was successfully used to eliminate and keep a large
system (cardano-node) space leak free.