3 ms·
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
by holografix 1y ago
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
- yoyohello13 1y agoThere 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?
- quantisan 1y ago1. 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_456fe54f-ea36-4a71-8a07-25a14f63c2f1 https://deepwiki.com/search/point-to-the-top-3-rust-specif_4...