kanzi-go
compress
kanzi-go | compress | |
---|---|---|
3 | 17 | |
482 | 4,506 | |
- | - | |
9.3 | 8.4 | |
5 days ago | 20 days ago | |
Go | Go | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
kanzi-go
- Kanzi is a modern, modular, expandable and efficient lossless data compressor
-
Lossless data compression in Go - Kanzi 2.1 released
1) Regarding the API being hard to use. Strangely I find "compress" hard to use. Maybe I just do not know wher to start with it ? I think the kanzi API is super simple actually: just create a reader or writer as described in the WIKI https://github.com/flanglet/kanzi-go/wiki/Using-and-extending-the-code. It is a one liner and it is the entry level for most cases. The reason for exposing all interfaces at the top level is to allow developers to use different pieces of the code directly in their project: say just use the bitstream code or, say, entropy codecs ... It is a deliberate choice to make those externally visible.
-
Lossless data compression in Go - Kanzi 1.9 released
See https://github.com/flanglet/kanzi-go for code and performance numbers and https://github.com/flanglet/kanzi-go/wiki for more information.
compress
- Chrome Feature: ZSTD Content-Encoding
-
Show HN: Gogosseract, a Go Lib for CGo-Free Tesseract OCR via Wazero
There's a pure-go zstd at https://github.com/klauspost/compress - it's likely faster than running the upstream zstd under Wazero.
-
When is go not a good choice?
It's no surprise that "fast" Go libraries are actually just assembly: https://github.com/klauspost/compress/blob/master/zstd/seqdec_amd64.s (just one file out of several, for just one architecture, for just one compression algorithm!)
-
zstd
There is a reasonably feature complete implementation of Zstd for Go: https://github.com/klauspost/compress/tree/master/zstd
It may not offer the same API 1:1, but it has no interoperability issues that I've encountered. So, I just think no one has bothered to implement it in Rust because most use cases don't mind the added bloat you're talking about. Plus, other comments I've seen suggest that you can actually tune the size of the zstd library, although I'm not sure if the Rust bindings expose that.
-
Medical image parser in Go
Thanks again for your review/comment!!! Btw, are you the author of this repo https://github.com/klauspost/compress because I love it!!!
-
Ask HN: Does https://github.com/klauspost/compress returns 502 for you?
I noticed Github returns "This page is taking too long to load" with status code 502 for https://github.com/klauspost/compress but rest of their urls works fine. Anyone know why would that be the case ?
Cloning the repo works perfectly well.
git clone https://github.com/klauspost/compress
- S2 Compression
-
Zstandard – Real-time data compression algorithm
Recent versions of zstd definitely don't obsolete LZ4, or else I don't think the author would still be contributing to both...
And if you're going to play with Snappy, you might find S2, which was linked on HN relatively recently, interesting. [1]
[1] - https://github.com/klauspost/compress/tree/master/s2
-
Restic 0.14.0 Released (with highly anticipated feature – compression)
Compression method appears to be zstandard and uses https://github.com/klauspost/compress, for those wondering like I was.
-
MinIO Object Placement Strategy in Distributed deployments
OMG u/klauspost is this you? https://github.com/klauspost/compress/tree/master/s2
What are some alternatives?
archiver - Easily create & extract archives, and compress & decompress files of various formats
nodejs-js-compress-benchmark - Benchmark NodeJS/JS compression libraries
traefik - The Cloud Native Application Proxy
go - The Go programming language
sqlite-zstd - Transparent dictionary-based row-level compression for SQLite
easyjson - Fast JSON serializer for golang.
jsoniter - A high-performance 100% compatible drop-in replacement of "encoding/json"
gzipped - Replacement for golang http.FileServer which supports precompressed static assets.
golang-http-handler-with-gzip - Golang HTTP Handler With Gzip
zap - Blazing fast, structured, leveled logging in Go.
wormhole-gui - Cross-platform application for easy encrypted file, folder, and text sharing between devices. [Moved to: https://github.com/Jacalz/rymdport]