News for hackers. Stuff that matters.
Re:Uv: Python packaging in Rust by paulddraper on Thursday February 15, 2024 @03:16PM (#39388128)
Yeah, I'm curious how much uv is actually faster.

npm -> Yarn was life changing performance-wise.

I wonder what pip -> uv is.

Re:Uv: Python packaging in Rust by the_mitsuhiko on Thursday February 15, 2024 @03:23PM (#39388240)
From my testing in rye it’s significantly faster in day to day. There are numbers in the blog post obviously but it’s the feeling you get using it locally that makes it much more fun to use.
Re:Uv: Python packaging in Rust by laborcontract on Thursday February 15, 2024 @03:24PM (#39388250)
Bun, ruff/uv, polars.. all have been major qol improvements.

I’m loving the pace of release with this crop of speed obsessed projects and I cannot wait for astral to tackle typing.

Re:Uv: Python packaging in Rust by laborcontract on Thursday February 15, 2024 @06:32PM (#39390804)
Ok, here are some benchmarks installing an application that has a couple build-heavy dependencies:

    Installation times (MM:SS):

    # No cache
    - uv:  01:05
    - pip: 01:56

    # Cache:
    - uv:  00:02
    - pip: 00:42
Re:Uv: Python packaging in Rust by eigenvalue on Thursday February 15, 2024 @03:39PM (#39388453)
npm seems to have gotten a lot faster lately. All that competition from yarn and now bun seems to have pushed them to focus on optimization.
Re:Uv: Python packaging in Rust by paulddraper on Thursday February 15, 2024 @03:47PM (#39388556)
Oh certainly.

Npm has improved greatly.

Npm features follow a two-step process: (1) Get implemented in Yarn (2) Get implemented in npm.

Re:Uv: Python packaging in Rust by driverdan on Thursday February 15, 2024 @10:35PM (#39392906)
I did some basic testing today and uv was around 2x faster than pip for a clean venv and cold cache on a real, decent sized project. With warm uv cache it was incredibly fast, under 10 sec.