primitive-unlifted VS primitive-unaligned

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


the PrimUnlifted typeclass, an interface arrays of unlifted values (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
  • SonarQube - Static code analysis for 29 languages.
  • SaaSHub - Software Alternatives and Reviews
primitive-unlifted primitive-unaligned
0 1
1 0
- -
0.0 0.0
30 days ago 28 days 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-unlifted. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning primitive-unlifted 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-unlifted and primitive-unaligned you can also consider the following projects:

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

primitive-addr - Addresses to unmanaged memory

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

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