Skip to content
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

Add support for zstd as a compression algorithm #223

Open
extesy opened this issue Apr 18, 2017 · 5 comments
Open

Add support for zstd as a compression algorithm #223

extesy opened this issue Apr 18, 2017 · 5 comments

Comments

@extesy
Copy link

extesy commented Apr 18, 2017

Zstandard (also known as zstd) has a great speed and compression ratio tradeoff. It also has a backing of a huge company (Facebook) and its repo is very active. I would love to be able to use zstd with configurable compression strength in SharpCompress. On its highest setting it is comparable to PPMd for compression ratio, but faster.

@adamhathcock
Copy link
Owner

It would be cool but this is something I'm personally unwilling to do. In fact I didn't port any algorithm since the original RAR.

Looking at their page there is a full java decoder that could be ported to C#. I wouldn't want just a wrapper of the native DLL in sharpcompress as that's not all platforms.

@samuel-w
Copy link

samuel-w commented May 8, 2021

I found a partial implementation of it, compression only. https://github.com/mcraiha/CSharp-zstd

@adamhathcock
Copy link
Owner

Thanks. Keeping this open

@samuel-w
Copy link

samuel-w commented Aug 7, 2021

I found another one, seems to have both compress and decompress https://github.com/oleg-st/ZstdSharp

@adamhathcock
Copy link
Owner

Got an itch and started

Compression from: https://github.com/oleg-st/ZstdSharp
File format from the RFC: https://datatracker.ietf.org/doc/html/rfc8878#section-3.1
WIP here: #627

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants