[ITP] Zstd compression tools and libraries

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view

[ITP] Zstd compression tools and libraries


I would like to package Zstd for Cygwin.  The latest release of Zstd is
BSD/GPLv2 dual-licensed (the Facebook Patent clause it had applied
earlier has been dropped).  Support for LZ4, Xz/LZMA GZip formats is
compiled in.  There are packages available for the major GNU/Linux
distributions and Zstd is be built into the Linux kernel for filesystem
compression since 4.14.  I'd like to thank Yaakov for helping with
getting the custom build system patched up so it does something sensible
on Cygwin.

Zstd has a wide range of compression levels, starting out at roughly
comparable to gzip in compression ratio while compressing much faster to
not-quite LZMA compression ratio at about the same speed or slightly
slower.  Decompression is a lot faster than either of these, both
decompression to the file system and even more so decompression into
memory.  Multithreaded operation is optionally possible for both
compression and decompression, although usually compression benefits
more.  LZO and LZ4 are faster in both respects still, but have typically
significantly worse compression ratio.  This means that in many
practical cases performance will be limited by network or filesystem
throughput while storage requirements are roughly the same as they are
with other contemporary solutions.

--8<---------------cut here---------------start------------->8---
--8<---------------cut here---------------end--------------->8---

Since I hope to eventually use Zstd in setup.exe, the following
cross-compilation packages are available as well.

--8<---------------cut here---------------start------------->8---
--8<---------------cut here---------------end--------------->8---

Alternatively, point setup.exe at $root and it should offer those
packages for installation.  The setup.ini is signed with my PGP key
available at $root/stromeko.gpg, which you can download and then feed to
setup.exe via the -K switch.  The fingerprint of that key is:

      B22B 4890 B89E 5E5A 795C  E305 B40B EC75 3152 B1C3

If you have the keyart script (Python, you can just download from
https://raw.githubusercontent.com/atoponce/keyart/master/keyart), this
is what you should see after importing the key into your public keyring:

> keyart stromeko
+-----[DSA 2048]----+
|         ^.        |
|        ^ .        |
|       ^ E         |
|    . . ^ :        |
|. .  ^ : .         |
|.^  . ^.:S         |
| ..  . :^.         |
|.  .^ ^.^          |
|. ^:.^ ..          |
| ^:... .           |
|.^    .            |
|                 :X|
|             .  ^^^|
|            :   ..^|
|         . : .   E |
|          i . . .  |
|       ^ S l : .   |
|        i l ^ ^    |
|       ^ . .       |
|      .   .        |
|       . .         |
|      ...          |

+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
Reply | Threaded
Open this post in threaded view

Re: [ITP] Zstd compression tools and libraries

marco atzeri-4
On 22/10/2017 15:11, Achim Gratz wrote:
> I would like to package Zstd for Cygwin.