#+TITLE: Guile-zstd: GNU Guile bindings to the zstd compression library
This directory contains bindings to the zstd compression library for
GNU Guile 3.0, 2.2, and 2.0:
Zstd (or “zstandard”) offers relatively high compression ratios
(typically better than gzip, not as good as lzip or xz) and a high
decompression throughput (noticeably higher than lzip or gzip).
These bindings provide a high-level port interface for in-process
compression and decompression. Here’s how you would compress a file and
store its result on disk:
(rnrs io ports))
;; Create a compressed archive.
;; Read the input file in memory.
;; Write data to PORT.
(put-bytevector port data)))))
Decompression works similarly:
;; Read decompressed data from PORT.
With GNU Guix, you can install Guile-zstd straight of this source tree
guix package -f guix.scm
See the =INSTALL= file for instructions on how to build from source
Using GNU Guix, you can enter a development environment by running:
guix environment -CP -l guix.scm
You can authenticate the code in this repository by running:
guix git authenticate \
The command silently exits with zero on success, and errors out
otherwise. We recommend invoking it from ‘.git/hooks/pre-push’.
* Reporting Bugs
Please report bugs to .