Earlier quoted context omitted.
same for uv but no one takes that message. They just think "rust rulez!" and ignore that all of uv's benefits are algo, not lang.
That's a pretty big claim. I don't doubt that a lot of uv's benefits are algo. But everything? Considering that running non IO-bound native code should be an order of magnitude faster than python.
We rewrote our Rust WASM parser in TypeScript and it got faster
51–60 of 239 posts
Re: We rewrote our Rust WASM parser in TypeScript and it got faster
#52Re: We rewrote our Rust WASM parser in TypeScript and it got faster
#53Re: We rewrote our Rust WASM parser in TypeScript and it got faster
#54Re: We rewrote our Rust WASM parser in TypeScript and it got faster
#55Re: We rewrote our Rust WASM parser in TypeScript and it got faster
#56Earlier quoted context omitted.
That's a pretty big claim. I don't doubt that a lot of uv's benefits are algo. But everything? Considering that running non IO-bound native code should be an order of magnitude faster than python.
Its a pretty well-supported claim. uv skips doing a number of things that generate file I/O. File I/O is far more costly than the difference in raw computation. pip can't drop those for compatibility reasons. https://nesbitt.io/2025/12/26/how-uv-got-so-fast.html
Re: We rewrote our Rust WASM parser in TypeScript and it got faster
#57Re: We rewrote our Rust WASM parser in TypeScript and it got faster
#58Something not unlike this happened to me when moving some batch processing code from C++ to Python 1.4 (this was 1997). The batch started finishing about 10x faster. We refused to believe it at first and started looking to make sure the work was actually being done. It was. The port had been done in a weekend just to see if we could use Python in production. The C++ code had taken a few months to write. The port was…
Pure speculation, but I would guess this has something to do with a copy constructor getting invoked in a place you wouldn't guess, that ends up in a critical path.
Re: We rewrote our Rust WASM parser in TypeScript and it got faster
#59Something not unlike this happened to me when moving some batch processing code from C++ to Python 1.4 (this was 1997). The batch started finishing about 10x faster. We refused to believe it at first and started looking to make sure the work was actually being done. It was. The port had been done in a weekend just to see if we could use Python in production. The C++ code had taken a few months to write. The port was…
> After identifying the small misbehaving function, we had to study the C++ code pretty hard to even understand what the problem was. I don't remember the exact nature of the bug, but I do remember thinking that particular type of bug would be hard to express in Python, and that's exactly why it was accidentally fixed. Pure speculation, but I would guess this has something to do with a copy constructor getting invoke…
Re: We rewrote our Rust WASM parser in TypeScript and it got faster
#60"We rewrote this code from language L to language M , and the result is better!" No wonder: it was a chance to rectify everything that was tangled or crooked, avoid every known bad decision, and apply newly-invented better approaches. So this holds even for L = M . The speedup is not in the language, but in the rewriting and rethinking.
Edit: fixed phone typos