Xz Format Inadequate for General Use
Key topics
The xz compression format is under fire again, with critics arguing it's inadequate for general use due to various design flaws and limitations. While some commenters, like o11c, downplay the issues, saying they're overstated, especially when xz is used with checksums, others like lifthrasiir cringe at the recurring criticism, pointing out that xz "practically works well." The debate rages on, with some users, like angst, opting for alternatives like zstd, while others, like petre, swear by using xz with specific settings, such as xz -0. Amidst the discussion, arp242 reveals that the original article's title was once "Xz format inadequate for long-term archiving," suggesting the author's opinion has hardened over time.
Snapshot generated from the HN discussion
Discussion Activity
Moderate engagementFirst comment
56m
Peak period
7
1-2h
Avg / period
2
Based on 12 loaded comments
Key moments
- 01Story posted
Aug 26, 2025 at 12:09 AM EDT
4 months ago
Step 01 - 02First comment
Aug 26, 2025 at 1:04 AM EDT
56m after posting
Step 02 - 03Peak activity
7 comments in 1-2h
Hottest window of the conversation
Step 03 - 04Latest activity
Aug 26, 2025 at 4:28 PM EDT
4 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
At 3 points and 0 comments it can't be HN?
Anyway, zstd is the future for most use cases.
So if for some reason I can't use Zstd, I would still probably choose LZ4 instead of Lzip.
Xz format inadequate for long-term archiving (2016) - https://news.ycombinator.com/item?id=39871914 - Mar 2024 (26 comments)
Xz format inadequate for long-term archiving (2016) - https://news.ycombinator.com/item?id=39868810 - Mar 2024 (9 comments)
Xz format considered inadequate for long-term archiving (2016) - https://news.ycombinator.com/item?id=32210438 - Jul 2022 (158 comments)
Xz format inadequate for long-term archiving (2016) - https://news.ycombinator.com/item?id=20103255 - Jun 2019 (58 comments)
Xz format inadequate for long-term archiving (2017) - https://news.ycombinator.com/item?id=16884832 - Apr 2018 (136 comments)
Xz format inadequate for long-term archiving - https://news.ycombinator.com/item?id=12768425 - Oct 2016 (91 comments)
Now, "trust the source" does have a hole that most people might not think about - are you sure the archive you just created corresponds to the files you tried to add? Doing extraction comparison tests should be mandatory ... but the same applies to all other archive formats, and very few tools automate the check in a way that also generates the hash.
[1] Refers to file formats like .gz, .bz2 and of course .xz; doesn't include .tar, .zip or .7z.