primitive-addr VS primitive-unaligned

Compare primitive-addr vs primitive-unaligned and see what are their differences.

primitive-addr

Addresses to unmanaged memory (by byteverse)

primitive-unaligned

Interface to byte arrays with unaligned words (by haskell-primitive)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
primitive-addr primitive-unaligned
0 1
0 0
- -
3.4 4.5
23 days ago 5 months ago
Haskell Haskell
BSD 3-clause "New" or "Revised" License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

primitive-addr

Posts with mentions or reviews of primitive-addr. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning primitive-addr yet.
Tracking mentions began in Dec 2020.

primitive-unaligned

Posts with mentions or reviews of primitive-unaligned. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-10.
  • [ANN] vector-hashtables
    2 projects | /r/haskell | 10 Sep 2021
    It doesn't support tuples, I think I might have to use something from primitive-unaligned, but I don't know if it is better to use unaligned elements which take less memory or to widen the smallest of the two so that all the elements have the same size. I think the option to use less memory is better because that will also lead to less cache misses.

What are some alternatives?

When comparing primitive-addr and primitive-unaligned you can also consider the following projects:

primitive-unlifted - the PrimUnlifted typeclass, an interface arrays of unlifted values

primitive-foreign - using the `Prim` interface for the FFI

primitive-convenience - convenience class for PrimMonad m/PrimState m

primitive - This package provides various primitive memory-related operations.

primitive-stablename - primitive operations on StableNames

primitive-offset - Types for offsets into unboxed arrays

primitive-atomic - Atomic operations on PrimArray and ByteArray