Remix.run Logo
rs_rs_rs_rs_rs 4 days ago

Python has uv, JS has bun, what does Ruby or PHP have? Are the devs using those languages happy with how fast the current popular dependency managers are?

hu3 4 days ago | parent | next [-]

PHP is getting Mago (written in Rust).

Repo: https://github.com/carthage-software/mago

Announcement 9 months ago:

https://www.reddit.com/r/PHP/comments/1h9zh83/announcing_mag...

For now its main features are 3: formatting, linting and fixing lint issues.

I hope they add package management to do what composer does.

JamesSwift 4 days ago | parent | prev | next [-]

Youre looking at it wrong. Python has nix, JS has nix, ruby and php have nix : D

Thats closer to how pnpm achieves speed up though. I know there is 'rv' recently, but havent tried it.

koakuma-chan 4 days ago | parent [-]

You mean nix the package manager? I used to use NixOS and I had to switch off because of endless mess with environment variables.

JamesSwift 4 days ago | parent [-]

Yes, nix package manager. Or devenv for a more streamlined version of what I'm describing, similar to mise but powered by nix.

tommasoamici 4 days ago | parent | prev | next [-]

it's pretty new, but in Ruby there's `rv` which is clearly inspired by `uv`: https://github.com/spinel-coop/rv.

>Brought to you by Spinel

>Spinel.coop is a collective of Ruby open source maintainers building next-generation developer tooling, like rv, and offering flat-rate, unlimited access to maintainers who come from the core teams of Rails, Hotwire, Bundler, RubyGems, rbenv, and more.

weaksauce 4 days ago | parent | prev | next [-]

bundler is generally pretty fast on the ruby side. it also reuses dependencies for a given ruby version so you don't have the stupid node_folder in every project you use with every dependency re-downloaded and stored. if you have 90% of the dependencies for a project you only have to download and install/compile 10% of them. night and day difference.

aarondf 4 days ago | parent | prev | next [-]

PHP has Composer, and it's extremely good!

kijin 4 days ago | parent [-]

PHP is much closer to raw C and doesn't do any threading by default, so I suppose composer doesn't suffer from the thread synchronization and event loop related issues that differentiate bun from npm.

gertop 4 days ago | parent [-]

But node doesn't do threading by default either? Are you saying that npm is somehow multithreaded?

4 days ago | parent | prev [-]
[deleted]