5 ms·
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?
by rs_rs_rs_rs_rs 1y 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?
- tommasoamici 1y agoit's pretty new, but in Ruby there's `rv` which is clearly inspired by `uv`: https://github.com/spinel-coop/rv 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.
- deleted 1y ago[deleted]
- JamesSwift 1y agoYoure 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 1y agoYou mean nix the package manager? I used to use NixOS and I had to switch off because of endless mess with environment variables.
- JamesSwift 1y agoYes, nix package manager. Or devenv for a more streamlined version of what I'm describing, similar to mise but powered by nix.
- hu3 1y agoPHP is getting Mago (written in Rust). Repo: https://github.com/carthage-software/mago https://github.com/carthage-software/mago Announcement 9 months ago: https://www.reddit.com/r/PHP/comments/1h9zh83/announcing_mago_an_oxidized_toolchain_for_php/ 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.
- aarondf 1y agoPHP has Composer, and it's extremely good!
- kijin 1y agoPHP 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 1y agoBut node doesn't do threading by default either? Are you saying that npm is somehow multithreaded?
- weaksauce 1y agobundler 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.