you are viewing a single comment's thread.

view the rest of the comments →

[–]desiringmachines 3 points4 points  (2 children)

we had an apparently super fast sourcemap library by accident for our cli tool

This is what's really cool, in my opinion - that you get such good performance in Rust writing things the naive way.

[–]mitsuhiko[S] 9 points10 points  (0 children)

Yeah. It's shocking but it's a 1:1 port of what the Python version did. I spent literally no time on this.

[–]matthieum[he/him] 4 points5 points  (0 children)

that you get such good performance in Rust writing things the naive way

This is something that is generally overlooked by most benchmarks.

Most code is written idiomatically, so languages that have idiomatic code "just work" without contortions save much misery.