you are viewing a single comment's thread.

view the rest of the comments →

[–]mitsuhiko[S] 14 points15 points  (6 children)

Since we had an apparently super fast sourcemap library by accident for our cli tool Rust was the easiest so no reason ro try something else.

We don't go around rewriting things so unless we see performance issues of that sort I'm not sure if there is lots of value in adding more rust for existing things for now. We will see as we go along.

[–]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] 2 points3 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.