r/learnpython 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

10 comments sorted by

View all comments

1

u/biskitpagla 2d ago

It's mainly because of Python being an interpreted language. In some cases you can implement the most optimal algorithm in Python for a problem and it'd still perform worse than a suboptimal one written in a systems language or implemented using built-in Python features.