Doubling Down- CS fundamentals in the face of the AI apocalypseyusufbirader.com4 ポイント·投稿者 exposition·2 年前·1 コメント
Show HN: pzip- blazing fast concurrent zip archiver and extractorgithub.com26 ポイント·投稿者 exposition·3 年前·17 コメント
exposition·2 年前·議論There’s also pzip[1], which lets you create zip files and extract them in parallel.[1] https://github.com/ybirader/pzipDisclaimer: I’m the author
exposition·2 年前·議論Astro is amazing. I built my blog with it, hosted on CF pages [1].DX is great.In most cases, ships absolutely zero JS to the client, meaning super fast load times.[1] https://www.yusufbirader.com/
exposition·3 年前·議論There's also pzip/punzip (https://github.com/ybirader) for those wanting more performant (concurrent) zip/unzip.Disclaimer: I'm the author.
exposition·3 年前·議論Yep I get that- it's just that using unsafe reduces the benefits you get from Rust's model.And so I was wondering whether using it is still worth it.Obviously, it probably still has many benefits over C but something like Zig might be simpler and better suited.
exposition·3 年前·議論Has anybody else used Rust for embedded?Would be interested to hear your experience.So far, I’ve seen mixed reviews. Some say that you can end up using unsafe a lot and so it’s better to stick with C or even use Zig.Wondered if there was any merit to this.
exposition·3 年前·議論At the moment it doesn't- if it's something you're looking for, please open an issue.I didn't want to go down the route of implementing a bunch of features without there being a actual need for them, especially for an initial version.
exposition·3 年前·議論Yep the standard I refer to is Info-ZIP (zip(1)).I will add the resulting compression sizes- there is not much between them (pzip was around 2% larger for the 10GB directory). Although, I do have some optimizations in mind which will bring this down further.
[1] https://github.com/ybirader/pzip
Disclaimer: I’m the author