Live data from Hacker News

Uv is the best thing to happen to the Python ecosystem in a decade

emily.space

711–720 of 1001 posts

Re: Uv is the best thing to happen to the Python ecosystem in a decade

#711

Uv is so good. I'm a curmudgeon about adopting new tooling, and tried uv with a lot of skepticism, but it was just better in every way. And even if it wasn't so polished and reliable, the raw speed makes it hard to go back to any other tool. Uv combined with type hints reaching critical mass in the Python ecosystem, and how solid PyLance is in VSCode, feels so good it has made me consider investing in Python as my pr…

I wish we had a language that had the syntax of Python (notably including operator overloading, which is absolutely critical for neural networks, ML, data science and numerical computations), the performance, compile times and concurrency support of Go, the type system flexibility of Typescript, and the native platform integration of C/C++.

This looks exactly what I'm trying to do with SPy -- although SPy is still "not there" and it's WIP. I literally wrote an intro post about it yesterday: https://antocuni.eu/2025/10/29/inside-spy-part-1-motivations...

Re: Uv is the best thing to happen to the Python ecosystem in a decade

#712

Earlier quoted context omitted.

This was always my issue with pip and venv: I don’t want a thing that hijacks my terminal and PATH, flips my world upside down and makes writing automated headless scripts and systemd services a huge pain. When I drop into a Node.js project, usually some things have changed, but I always know that if I need to, I can find all of my dependencies in my node_modules folder, and I can package up that folder and move it w…

Conda is open source. Not sure what you mean about an EULA. There are some license agreements if you use Anaconda , but if you just use conda-forge you don't have any entanglements with Anaconda the company. (I agree the nomenclature is confusing.)

I… I’m sorry to hear that. Wow. That is shockingly bad.

Seriously, this is why we have trademarks. If Anaconda and Conda (a made-up word that only makes sense as a nickname for Anaconda and thus sounds like it’s the same thing) are two projects by different entities, then whoever came second needs to change their name, and whoever came first should sue them to force them. Footguns like this should not be allowed to exist.

Re: Uv is the best thing to happen to the Python ecosystem in a decade

#713

Earlier quoted context omitted.

Who cares what it is written in?

Rust's rigorous separation of immutable and mutable state consistently leads to higher-quality software that stands the test of time.

C has stood a very great test of time and we don't ascribe virtue to it.

Re: Uv is the best thing to happen to the Python ecosystem in a decade

#714

Uv is so good. I'm a curmudgeon about adopting new tooling, and tried uv with a lot of skepticism, but it was just better in every way. And even if it wasn't so polished and reliable, the raw speed makes it hard to go back to any other tool. Uv combined with type hints reaching critical mass in the Python ecosystem, and how solid PyLance is in VSCode, feels so good it has made me consider investing in Python as my pr…

I wish we had a language that had the syntax of Python (notably including operator overloading, which is absolutely critical for neural networks, ML, data science and numerical computations), the performance, compile times and concurrency support of Go, the type system flexibility of Typescript, and the native platform integration of C/C++.

Also, case matching of Scala <3

Re: Uv is the best thing to happen to the Python ecosystem in a decade

#715

Uv is so good. I'm a curmudgeon about adopting new tooling, and tried uv with a lot of skepticism, but it was just better in every way. And even if it wasn't so polished and reliable, the raw speed makes it hard to go back to any other tool. Uv combined with type hints reaching critical mass in the Python ecosystem, and how solid PyLance is in VSCode, feels so good it has made me consider investing in Python as my pr…

I wish we had a language that had the syntax of Python (notably including operator overloading, which is absolutely critical for neural networks, ML, data science and numerical computations), the performance, compile times and concurrency support of Go, the type system flexibility of Typescript, and the native platform integration of C/C++.

I think Julia largely accomplishes these goals except for the platform integration.

Re: Uv is the best thing to happen to the Python ecosystem in a decade

#716
post #169

Earlier quoted context omitted.

Don't they publish to PyPi? What do you care what they use behind the scenes?

It isn't what they use under the scene. I refered to the interfaces of other packaging tools. I use uv and it's excellent on its own. You get a repo, it's using playwright, what do you do now ? You install all the dependencies found in the dependency descriptor then sync to create a uv descriptor. or you compose a descriptor that uv understands. It's repetitive, rather systematic so it could be automated. I should vo…

Ah, you mean if you take over maintenance for a project that uses a different tool? Yes, fragmentation hurts, but adopting good tools is better for everyone in the long run.

Re: Uv is the best thing to happen to the Python ecosystem in a decade

#718
post #394
post #172

Earlier quoted context omitted.

Without -S, `uv run --script` would be treated as a binary name (including spaces) and you will get an error like "env: ‘uv run --script’: No such file or directory". -S causes the string to be split on spaces and so the arguments are passed correctly.

On these systems, wouldn’t binfmt attempt to exec(“/usr/bin/env -S uv run --script”, “foo.py”) and fail anyway for the same reason?

No. The string is split to extract at most one argument. See: https://linux.die.net/man/2/execve

So in fact "-S" is not passed as a separate argument, but as a prefix in the first (and only) argument, and env then extracts it and acts accordingly:

``` $ /usr/bin/env "-S echo deadbeef" deadbeef ```

Re: Uv is the best thing to happen to the Python ecosystem in a decade

#719
post #698

Earlier quoted context omitted.

I wish we had a language that had the syntax of Python (notably including operator overloading, which is absolutely critical for neural networks, ML, data science and numerical computations), the performance, compile times and concurrency support of Go, the type system flexibility of Typescript, and the native platform integration of C/C++.

There's Mojo, but it's been a while since I've heard anything about it. https://www.modular.com/mojo

There’s been a lot of hype around Mojo, but is anyone actually using it?

Does it deliver on the bold claims of its designers?

Re: Uv is the best thing to happen to the Python ecosystem in a decade

#720

A problem remain in that many and still more of the popular repositories don't use uv to manage their dependencies. So you are back having to use conda and the rest. Now, you have yet another package manager to handle. I wouldn't be harsh to engineers at astral who developed amazing tooling, but the issue with the python ecosystem isn't lack of tooling, it is the proliferation and fragmentation. To solve dependency m…

I've started forking some less popular ones and migrating them with AI to latest python tooling + uv.

It's been a joy for owning some of dependencies, that have been not maintained much.

Mostly just using codex web/claude code web and it's doing wonders.

Post reply on HN