3 ms·
Literally just upgraded before seeing this post; I had 31 outdated packages and the first thing I saw was how blazing fast it was! I looked online to see if som
by d3Xt3r 20d ago
Literally just upgraded before seeing this post; I had 31 outdated packages and the first thing I saw was how blazing fast it was! I looked online to see if something changed and saw this post.
Speed was my biggest complaint about brew, so I'm glad to cross that one off my list of things I don't like about brew.
Thank you for your hard work BTW, brew's been a lifesaver on macOS and immutable distros.
- mikemcquaid 20d agoGlad to hear it. A lot of time and energy has gone into performance work so glad that’s noticeable! Thanks for the kid words too <3
- bitexploder 20d agoIt is Rust now?
- staplung 20d agoIt's still in ruby, although I see the new GUI is in swift: https://github.com/homebrew https://github.com/homebrew Rewriting a program in Rust (specifically) really only makes sense for a few reasons: 1) the existing implementation is in an unsafe, cumbersome language (C, C++). 2) the existing implementation language is too slow and that slowness cannot be worked around. 3) the implementation is enormous, in a dynamic language and you desperately need stricter types. But this doesn't really favor Rust specifically. 1 doesn't apply because Ruby is garbage collected. It's doubtful 2 applies just given what homebrew does: the long pole is always going to be I/O. The performance improvements in version 7 seem to mostly be due to doing more concurrently. I highly doubt the Ruby-ness gets meaningfully in the way.
- bitexploder 20d agoI was kinda kidding because parent called it "blazing" fast lol. I didn't think it was Rust. Blazing fast software is reserved as a descriptor for Rust programs :)
- jdxcode 20d agoi just tested and `mise bootstrap` is over twice as fast at installing when a bottle was in the cache. other commands like `status/check` are 20-30x faster. that's without spending much work at all on perf—i'm sure i could bring these numbers down much further.