Live data from Hacker News

Sapphire: Rust based package manager for macOS

github.com

41–50 of 311 posts

Re: Sapphire: Rust based package manager for macOS

#41

Earlier quoted context omitted.

That’s not fair. Homebrew has been fantastic. It’s also open source, did they not accept your pull requests for these “improvements”?

They spent months fuding MacPorts before putting in place exactly what MacPort was doing because it turns out it’s the right solution and despite that the ergonomic is still garbage (try installing packages outside of the default folder for a good laugh).

Who is "they"? I've never FUDed MacPorts, and in a decade of contributing to and maintaining Homebrew I can say honestly that I've never heard any other maintainer talk much about it beyond user experience.

(Beyond anything else, Homebrew's biggest "win" over MacPorts was and probably is still UX and DX. The core technology of a packaging ecosystem is rarely itself the differentiator.)

Re: Sapphire: Rust based package manager for macOS

#42

> WARNING: ALPHA SOFTWARE > Sapphire is experimental, under heavy development, and may be unstable. Use at your own risk! Ruby seems fine for brew. Does this do anything else better? Ruby makes it easy to write recipes for it which is a huge boon for a package manager.

Ruby isn't web scale. Rust is web scale.

Re: Sapphire: Rust based package manager for macOS

#43

Earlier quoted context omitted.

What exactly went down with homebrew? Suddenly my employer was pulling it from every device and I never really got a solid explanation of why ! I've not been able to get anything meaningful from searching on my own, obviously. Someone help a guy out?

Homebrew itself is not bad, but it does allow users to install software from thirdparty sources, that are unvetted, or unverified. This could pose a security risk. I can see why some companies will disable homebrew. Especially for non-developers.

Homebrew doesn't suddenly add that capability. It just facilitates it. If nothing else, it's easier to track what's been installed via brew than whatever the user may have curlbashed or untargzed to their home.

Re: Sapphire: Rust based package manager for macOS

#44
This looks like a fun little project, nice work!

I'm not a big fan of keeping the Homebrew terminology though. I never know what a formula, keg, cask, cellar, tap or bottle is. Why not keep to the standard terms of package and repository etc? I don't know beer brewing terminology or how beer brewing is analogous to package management, and I honestly wish that it wasn't something which my tools expect me to learn.

Re: Sapphire: Rust based package manager for macOS

#45

It’s a real disservice to the project not to give a raison d’etre in the readme, or any kind of technical motivation / differences.

> It’s a real disservice to the project not to give a raison d’etre in the readme, or any kind of technical motivation / differences.

This. There's a wave of projects whose only value proposition is this vacuous "let's reinvent the wheel in Rust" sales pitch, where nothing of value is proposed beyond throwing around the Rust buzzword.

Re: Sapphire: Rust based package manager for macOS

#46

> WARNING: ALPHA SOFTWARE > Sapphire is experimental, under heavy development, and may be unstable. Use at your own risk! Ruby seems fine for brew. Does this do anything else better? Ruby makes it easy to write recipes for it which is a huge boon for a package manager.

Homebrew is dog-slow. If this becomes yet another Rust tool that is 10x faster than the one that it replaces: great.

Re: Sapphire: Rust based package manager for macOS

#47
post #31

FWIW the author of Homebrew is also working on a next generation package manager in rust: https://pkgx.dev/ (beware facebook tracking and infinite AI slop)

Wow. They really don't want anyone to take this project seriously! This is actually making me reconsider having brew installed even... https://github.com/pkgxdev/pantry/pull/5360#issuecomment-233...

Is this the guy who was complaining that he didn't get hired by Google even though he made brew? Maybe there were personality issues at play...

Re: Sapphire: Rust based package manager for macOS

#48

> WARNING: ALPHA SOFTWARE > Sapphire is experimental, under heavy development, and may be unstable. Use at your own risk! Ruby seems fine for brew. Does this do anything else better? Ruby makes it easy to write recipes for it which is a huge boon for a package manager.

Homebrew is dog-slow. If this becomes yet another Rust tool that is 10x faster than the one that it replaces: great.

I use homebrew constantly but the only part I find slow is the custom installations of the software and the lack of downloading while installing? Neither of these is related to the implementation language.

What part of the home brew experience do you find slow?

eg...

% time brew upgrade

brew upgrade 0.75s user 0.16s system 68% cpu 1.337 total

% time brew list

brew list 0.01s user 0.02s system 57% cpu 0.054 total

Re: Sapphire: Rust based package manager for macOS

#50

Earlier quoted context omitted.

What exactly went down with homebrew? Suddenly my employer was pulling it from every device and I never really got a solid explanation of why ! I've not been able to get anything meaningful from searching on my own, obviously. Someone help a guy out?

Homebrew itself is not bad, but it does allow users to install software from thirdparty sources, that are unvetted, or unverified. This could pose a security risk. I can see why some companies will disable homebrew. Especially for non-developers.

So does sourceforge and GitHub and similar, are those blocked too?
Post reply on HN