Doubling Down- CS fundamentals in the face of the AI apocalypseyusufbirader.com4 points·by exposition·há 2 anos·1 comments
What "work smart, not hard" actually meansyusufbirader.com2 points·by exposition·há 3 anos·0 comments
Show HN: pzip- blazing fast concurrent zip archiver and extractorgithub.com26 points·by exposition·há 3 anos·17 comments
exposition·há 2 anos·discussThere’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·há 2 anos·discussAstro 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·há 3 anos·discussThere's also pzip/punzip (https://github.com/ybirader) for those wanting more performant (concurrent) zip/unzip.Disclaimer: I'm the author.
exposition·há 3 anos·discussYep 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·há 3 anos·discussHas 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·há 3 anos·discussAt 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·há 3 anos·discussYep 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