> 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.
zahlman•3w ago
> 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.