3 Weeks on building Zig ar

Hi, I cannot remember what got me started, but I put it in my mind to work on https://github.com/ziglang/zig/issues/9828 and got pretty far ( I think ).

If anyone wants to contribute as my time in the next 4 weeks is going to be limited: https://codeberg.org/Beneppe/Zar

Or just to report how you encounter an err, thread panic or memory leak :slight_smile: .

Rest I wrote in the .md file, 5k loc are certainly overkill. But if were to polish to perfection before “publishing” then others might miss out on code they deem useful or educational.

Sry, but I just an enthusiast who works on programming stuff because he thinks its cool, not because he as any education in the field, let alone works there.

GitHub - moosichu/zar: An attempt to write an archiver using zig · GitHub has not updated his Attempt in 4 Months, but his work was a very helpful cheat sheet.

(Zig Discord - #tooling-dev repost)

4 Likes

Reworked to Readme.md to make the repo more accessable and added some tests for targets
“x86_64-windows-msvc”,
“x86_64-windows-gnu”,
“x86_64-linux-gnu”,
“x86_64-linux-musl”,

Tests currently cover quickappend and delete operation.

WASM remains a todo, just as me having only a windows machine limits me to test only coff files for the symbolreader in Symbolic.zig