Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



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?


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...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: