@hackage bits-extras0.1.0
Efficient atomic and non-atomic bit operations not found in Data.Bits
Categories
License
BSD-3-Clause
Maintainer
Gabriel Wicke <wicke@wikidev.net>
Links
Versions
Installation
Dependencies (1)
Dependents (4)
@hackage/acme-everything, @hackage/intset, @hackage/bittorrent, @hackage/base32-bytestring
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: