←back to thread

741 points chirau | 3 comments | | HN request time: 0.545s | source
1. 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 #
2. 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?
3. quantisan ◴[] No.44361742[source]
1. Zero-Copy Deserialization with rkyv and Unsafe Code 2. Platform-Specific High-Performance Memory Allocators 3. High-Performance Hash Maps with FxHasher and SwissTable

https://deepwiki.com/search/point-to-the-top-3-rust-specif_4...