Show HN: ZAR – A new archive format with history, deduplication, encryption

brmmm3 30 points 15 comments November 30, 2026
github.com · View on Hacker News

Discussion Highlights (8 comments)

luckystarr

Try getting it into as many distros as possible, lest it won't have any chance of being adopted.

peter_d_sherman

Parallel (and GPU, if available) compression in archivers is a highly desirable feature!

bad_username

Reminds me of restic (local storage mode), but with just one file instead of a whole repo.

koziserek

Looks impressive. can you avoid zstd? exiting 'pure rust' breaks the deal for me when considering to include in my project.

arkg03

with someone who has no idea what this product is how do you explain it? just wanna know more about this.

Wicher

Does it allow for padding so that the start of files can be (memory/filesystem)-page aligned? That allows for mmap-ing non-compressed members and also for reflinking in/out contents from/to the filesystem (on Linux with btrfs, XFS). With tar it's possible with some padding tricks involving PAX comments, see https://pkg.go.dev/nontrivialpursuit.org/deduptar (mine!). For any new format I'd like to have that flexibility at least in the format ; the utilities can implement it later or not at all but at least the format should allow for the required alignment.

johng

Looks like a neat project!

lifthrasiir

I can't figure out the actual file format, partly because your document exposes bare UMLs [1]. Also ideally you better do the runtime detection for x86-64 features (otherwise, well, you need to do what you are doing now). (I have much more ambitious and possibly competiting format called Aqueous [2], as you may have seen in r/rust, but these points are genuine advices for you ;-) [1] https://github.com/brmmm3/zar-rs/blob/master/doc/zar-file-fo... [2] https://lifthrasiir.github.io/aqueous/

Semantic search powered by Rivestack pgvector
4,908 stories · 45,036 chunks indexed