←back to thread

741 points chirau | 1 comments | | HN request time: 0.967s | source
Show context
holografix ◴[] No.44361693[source]
Can anyone point to the top 3 Rust specific things that UV leverages to make it run so much faster?

Yes I know Rust is not a GC language… go a level deeper

replies(2): >>44361735 #>>44361742 #
1. yoyohello13 ◴[] No.44361735[source]
There is nothing Rust specific as far as I’m aware, other than the developers are comfortable with the language. They have a very fast dependency resolver/algo, but presumably you could implement that in C or Zig or whatever. It is much faster than if it was implemented in Python or another interpreted language though. Ruff is way, way faster than the equivalent Python tools. I like Rust for the type safety and tooling so that may slow them to build faster?