bits-extras: Efficient atomic and non-atomic bit operations not found in Data.Bits
Mostly wraps low-level bit operations provided by GCC builtins, which translate to specialized instructions where available.
Atomic operations include CAS (compare-and-swap), lock, fetch & add and similar primitives suitable for low-level shared-memory synchronization.
Primitives from the Extras subpackage would be useful to
have in the proper Data.Bits package, although this
would probably require broader support across different
compiler backends.
Relevant Hackage tickets:
Downloads
- bits-extras-0.1.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1.0, 0.1.1, 0.1.2, 0.1.3 |
|---|---|
| Dependencies | base (>=4 && <6) [details] |
| License | BSD-3-Clause |
| Author | Gabriel Wicke <wicke@wikidev.net> |
| Maintainer | Gabriel Wicke <wicke@wikidev.net> |
| Uploaded | by GabrielWicke at 2010-08-14T10:22:53Z |
| Category | Data |
| Source repo | head: hg clone http://dev.wikidev.net/hg/bits-extras/ |
| Distributions | |
| Reverse Dependencies | 4 direct, 0 indirect [details] |
| Downloads | 4578 total (13 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs uploaded by user Build status unknown [no reports yet] |