-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please compare this with Data.Binary
in the docs
#230
Comments
This might be interesting to you, especially if you also care about performance: https://github.com/haskell-perf/serialization |
Performance is interesting, though for me (and I expect others) is of secondary importance to interoperability and security. I see your link has a comparison table for interoperability so that answers one of these things, thanks! In terms of usage, I'll collect the hackage stats into this table here:
|
I wouldn't put too much weight on the download stats. AFAIK they're not very reliable, in part, because most packages are served by a CDN. |
Relatively speaking, would you say that the table is inaccurate? Even with CDNs hiding a lot of downloads, I would expect this to affect all packages equally no? And the numbers seem "big enough" that natural statistical variations wouldn't make them too inaccurate. |
I don't know whether the relative frequencies have any meaning. If you want to assess usage or popularity, I'd rather go by GitHub stars or maybe reverse dependencies, e.g. https://packdeps.haskellers.com/reverse/serialise |
Hi, I am looking a bit more deeply into Haskell serialisation frameworks and am trying to understand the differences between this library and
Data.Binary
. So far I understand the following:cborg
Data.Binary
813-year-old design issues such as Instance for Double/Float is absolutely batty haskell/binary#69There is also
Data.Store
but it readily admits to trusting the input and having known security issues (mgsloan/store#103), so I automatically discount it.Are there any other high-level important facts that I've missed? I didn't spend too long collecting this list. From the above, it seems that
Codec.Serialise
is better thanData.Binary
for general use, unless you have very specific requirements such as compatibility with Cloud Haskell or wanting to minimise non-haskell-platform dependencies. Would you agree?The text was updated successfully, but these errors were encountered: