Settings

Theme

Bringing uv-like performance leaps to Python HTTP

jawah.github.io

2 points by mesahm 4 months ago · 1 comment

Reader

zahlman 4 months ago

"uv-like performance" seems like clickbait here.

> Perhaps the most interesting part for the Python community is that it achieves this performance while remaining pure Python.

> We are seeing a trend of "rewriting it in Rust" to solve performance bottlenecks (e.g., uv). While I love Rust, there is something satisfying about squeezing this level of performance out of Python itself. Niquests has optional extensions for extra speed, but they aren't required to see these gains.

Well, yeah. It's been established already that the "rewrite it in Rust" performance benefits (with uv as an object example!) have quite a bit to do with the "rewrite it" part and not really that much with "in Rust". (I even wrote about that a couple weeks ago: https://zahlman.github.io/posts/oxidation/) Especially for things like this where you're eventually still going to be bottlenecked by the actual network bandwidth.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection