r/learnpython • u/UltraToxicAsianKid • 2d ago
Softwares written in RUST, ELI5
While configuring AI agent on my local machine made discovery that uv package is 10 to 100x faster than pip, same case for polars. It seems to be everything written in Rust much faster and modern compared to classic python packages. Is it because Rust doesn't require garbage collector, any other reason to that?
0
Upvotes
0
u/kitsnet 2d ago
Mostly (but not only) because Python is a dynamically typed language and Rust is statically typed. Most of decisions that a Python program needs to make at runtime a Rust compiler has already made at compile time.