asn1-encoding VS base64-bytestring

Compare asn1-encoding vs base64-bytestring and see what are their differences.

asn1-encoding

ASN1 Raw/BER/DER/CER reader/writer in haskell (by vincenthz)

base64-bytestring

Fast base64 encoding and decoding for Haskell. (by haskell)
Our great sponsors
  • JetBrains - Developer Ecosystem Survey 2022
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
asn1-encoding base64-bytestring
0 1
20 40
- -
0.0 2.8
about 1 year ago about 1 month ago
Haskell Haskell
BSD 3-clause "New" or "Revised" License GNU General Public License v3.0 or later
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.

asn1-encoding

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

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

base64-bytestring

Posts with mentions or reviews of base64-bytestring. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-06-07.
  • Yatima: A programming language for the decentralized web
    16 projects | news.ycombinator.com | 7 Jun 2021
    Sure, if you consider Haskell's runtime (I know that technically GHC /= Haskell, but in practice it's the only Haskell that matters, except maybe something like Asterius) all the primitives are backed by C libraries: https://hackage.haskell.org/package/ghc-prim-0.4.0.0/docs/GH...

    Likewise with conventions around pointers, arrays, etc. to the point where if you want to do anything really low-level or performance sensitive in Haskell, you're essentially punching a hole into C. As a random example, within the fast base64bytestring library, you find lots of use of `malloc`, `ForeignPtr` etc.: https://github.com/haskell/base64-bytestring/blob/master/Dat... And of course because this is C there aren't really many safety guarantees here.

    The plan with Yatima with its primitives, and eventually when we write an FFI is to integrate with Rust in the same way that Haskell uses C. My hope is that with Yatima's affine types we might even be able to FFI to and from safe Rust (since the borrow checker uses affine types), but this is a little bit of a research project to see how much that works. Even to unsafe Rust though, we have better safety guarantees than C, since unsafe Rust's UB is still more restricted than C's is.

What are some alternatives?

When comparing asn1-encoding and base64-bytestring you can also consider the following projects:

data-lens - Haskell 98 Lenses

msgpack - Haskell implementation of MessagePack / msgpack.org[Haskell]

data-object-yaml - Serialize data to and from Yaml files

bimap - Bidirectional mapping between two key types

cassava-conduit - Conduit interface for cassava [Haskell]

proto-lens - API for protocol buffers using modern Haskell language and library patterns.

histogram-fill - Filling and manupulation with histograms

fclabels - First class composable record labels for Haskell.

buffer-builder - Haskell library for efficiently building up buffers