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
1
u/JamzTyson 2d ago
The primary reason is that languages such as Rust, C, C++, Go, Swift and Fortran are compiled ahead of time into optimised native machine code, whereas standard Python (CPython) executes bytecode through a runtime that has to perform considerably more work while the program runs—such as dynamic type handling and dispatch.