primitive-convenience VS primitive-unaligned

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


convenience class for PrimMonad m/PrimState m (by haskell-primitive)


Interface to byte arrays with unaligned words (by haskell-primitive)
Our great sponsors
  • InfluxDB - Access the most powerful time series database as a service
  • SonarLint - Clean code begins in your IDE with SonarLint
  • SaaSHub - Software Alternatives and Reviews
primitive-convenience primitive-unaligned
0 1
0 0
- -
0.0 0.0
over 3 years ago 3 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.


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

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


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 | | 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-convenience and primitive-unaligned you can also consider the following projects:

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

primitive-stablename - primitive operations on StableNames

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

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

primitive-addr - Addresses to unmanaged memory

primitive-offset - Types for offsets into unboxed arrays

primitive-atomic - Atomic operations on PrimArray and ByteArray