primitive-foreign VS primitive-unaligned

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

primitive-foreign

using the `Prim` interface for the FFI (by haskell-primitive)

primitive-unaligned

Interface to byte arrays with unaligned words (by haskell-primitive)
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
primitive-foreign primitive-unaligned
- 1
0 0
- -
0.0 4.5
almost 5 years ago 12 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-foreign

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

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

primitive-stablename - primitive operations on StableNames

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

primitive-offset - Types for offsets into unboxed arrays

primitive-atomic - Atomic operations on PrimArray and ByteArray

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

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

primitive-addr - Addresses to unmanaged memory

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you konow that Haskell is
the 23rd most popular programming language
based on number of metions?