Hacker News new | past | comments | ask | show | jobs | submit login

I never looked into Homebrew as I know that its mainly for MacOS.

Since you are sort of making the connection for Homebrew to work without fuss on Linux and Windows as well, if implemented in Rust, I am asking myself what it would offer that a user of Linux and Windows is missing?

Ordinary Linux distributions already have a package management and there is scoop and chocolaty for Windows.




Yeah, I can see how you could take that from my comment, it was a bit of a throwaway last line.

I mainly want it to be rewritten in a compiled language for performance reasons, it's a sluggish beast. I haven't tried to use it on Linux (where it has some support), and definitely not on Windows (winget/chocolatey would be my port of call there).

Examples of tools I use across operating systems that were written in Rust/Go, that pretty much are drop an executable somewhere and run:

ripgrep, starship, tailscale, terraform, vault, etc.

Whereas when something is written in Python, Ruby or similar, I'm rolling the dice, and I'm only an apt-get or dnf away from it breaking when I really need it.


I didn’t read their comment that way. Although Homebrew does also exist for Linux, I think the absolute majority use it on macOS.

Personally, being a user of Homebrew on macOS I’ve been thinking about wanting brew to be rewritten in Rust too. My own reason being that I think it would be faster when run, compared to the version they have of it currently which can be quite slow sometimes. And because I like Rust as a language and for its memory safety features. So I’d rather see brew implemented in Rust than in say C or C++, if a compiled language was to be used.


I don’t think that homebrew will ever get rewritten in anything other than ruby. It may be feasible to rewrite brew itself, but all the formulae are written in ruby, so moving away from it would insta-delete the entire ecosystem.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: