bzip2 1.0.3 review

by on

bzip2 is a freely available, patent free high-quality data compressor

License: BSD License
File size: 653K
Developer: Julian Seward
0 stars award from

bzip2 is a freely available, patent free high-quality data compressor.

It typically compresses files to within 10% to 15% of the best available techniques (the PPM family of statistical compressors), whilst being around twice as fast at compression and six times faster at decompression.

Why would I want to use it?

Because it compresses well. So it packs more stuff into your overfull disk drives, distribution CDs, backup tapes, Zip disks, etc. And/or it reduces your phone bills, customer download times, long distance network traffic, etc. It's not the world's fastest compressor, but it's still fast enough to be very useful.

Because it's open-source (BSD-style license), and, as far as I know, patent-free. (To the best of my knowledge. I can't afford to do a full patent search, so I can't guarantee this. Caveat emptor). So you can use it for whatever you like. Naturally, the source code is part of the distribution.

Because it supports (limited) recovery from media errors. If you are trying to restore compressed data from a backup tape or disk, and that data contains some errors, bzip2 may still be able to decompress those parts of the file which are undamaged.

Because you already know how to use it. bzip2's command line flags are similar to those of GNU Gzip, so if you know how to use gzip, you know how to use bzip2.

Because it's very portable. It should run on any 32 or 64-bit machine with an ANSI C compiler. The distribution should compile unmodified on Unix and Win32 systems. Earlier versions have been ported with little difficulty to a large number of weird and wonderful systems.

What's New in This Release:
Further robustification against corrupted compressed data. There are currently no known bitstreams which can cause the decompressor to crash, loop or access memory which does not belong to it. If you are using bzip2 or the library to decompress bitstreams from untrusted sources, an upgrade to 1.0.3 is recommended.
The documentation has been converted to XML, from which html and pdf can be derived.
Various minor bugs in the documentation have been fixed.
Fixes for various compilation warnings with newer versions of gcc, and on 64-bit platforms.
The BZ_NO_STDIO cpp symbol was not properly observed in 1.0.2. This has been fixed.

bzip2 1.0.3 keywords