Would the authors not have been better off adding their performance improvements to pip rather than creating their own tool? I remember this being a complaint from Node maintainers when Bun was released: they had multiple open performance-related issues with no one available to work on them.
Uv saves Home Assistant 215 compute hours per month
21–30 of 60 posts
Re: Uv saves Home Assistant 215 compute hours per month
#22Earlier quoted context omitted.
I’m guessing “rewrite it in Rust” would have been an unpalatable PR for the pip maintainers to merge.
Yeah but I suspect there’s something more going on than Rust magic. They’re claiming a savings of about an hour and a half. (4% of the original time) That sounds like an architecture change, or more likely a whole lot of caching.
Re: Uv saves Home Assistant 215 compute hours per month
#23Every time I hear "new system faster than old system!", my first thought is: what features does the new system not implement, what corner-cases does it ignore? What are the trade-offs?
Re: Uv saves Home Assistant 215 compute hours per month
#24So .. like ... Why not dump python entirely if you are doing a python to rust port of a core aspect of python tool gain?
Re: Uv saves Home Assistant 215 compute hours per month
#25Would the authors not have been better off adding their performance improvements to pip rather than creating their own tool? I remember this being a complaint from Node maintainers when Bun was released: they had multiple open performance-related issues with no one available to work on them.
This is definitely a paid ad. Check out the company cited in the post. It's a VC funded attempt to extend/embrace/extinguish the current tooling. [0] https://astral.sh/about
Re: Uv saves Home Assistant 215 compute hours per month
#26Earlier quoted context omitted.
I’m guessing “rewrite it in Rust” would have been an unpalatable PR for the pip maintainers to merge.
Yeah but I suspect there’s something more going on than Rust magic. They’re claiming a savings of about an hour and a half. (4% of the original time) That sounds like an architecture change, or more likely a whole lot of caching.
As a concrete example, I have a raspberry pi 4 I use for "what's the most pathetic hardware a user might try". It takes 5-10 minutes to build up a fresh venv even when it has all of the packages cached. If I nuke the caches and make it download, it's 20+ minutes. For comparison a modern laptop takes ~1 minute.
Re: Uv saves Home Assistant 215 compute hours per month
#27Would the authors not have been better off adding their performance improvements to pip rather than creating their own tool? I remember this being a complaint from Node maintainers when Bun was released: they had multiple open performance-related issues with no one available to work on them.
Re: politics. Note that sometimes forks and competitors are so successful, they make it possible for the upstream to "unblock" by virtue of convincing them to adjust their vision. For Node.JS, consider io.js and Yarn in particular.
Re: Uv saves Home Assistant 215 compute hours per month
#28Every time I hear "new system faster than old system!", my first thought is: what features does the new system not implement, what corner-cases does it ignore? What are the trade-offs?
Rust, the language, has rather successfully worked towards and demonstrated that, in many areas, you CAN have your pie and eat it too. But that doesn't carry over to applications, where it must be demonstrated again.
Stop talking about fancy pies, you don’t need it even if it smells nice. What you actually need is to eat healthy and nutritious foods.
Re: Uv saves Home Assistant 215 compute hours per month
#29Re: Uv saves Home Assistant 215 compute hours per month
#30So .. like ... Why not dump python entirely if you are doing a python to rust port of a core aspect of python tool gain?
For things like dependency resolution, where you're doing a lot of heavy CPU operations, there is a lot of room for optimization in lower level languages.