top | item 44304874

(no title)

jimktrains2 | 8 months ago

Isn't bzip used quite a bit, especially for tar files?

discuss

order

jeffbee|8 months ago

If so, only by misguided users. Why would anyone choose bz2 in 2025?

0x457|8 months ago

To unpack an archive made from the time when bz2 was used?

ben-schaaf|8 months ago

Of course no one uses systems, tools and files created before 2025!

kbolino|8 months ago

bzip2 is still pretty good if you want to optimize for:

  - better compression ratio than gzip
  - faster compression than many better-than-gzip competitors
  - lower CPU/RAM usage for the same compression ratio/time
This is a niche, but it does crop up sometimes. The downside to bzip2 is that it is slow to decompress, but for write-heavy workloads, that doesn't matter too much.

Twirrim|8 months ago

So? If I need to consume a resource compressed using bz2, I'm not just going to sit around and wait for them to use zstd. I'm going to break out bz2. If I can use a modern rewrite that's faster, I'll take every advantage I can get.