From the course: Using Rust with Python

Unlock this course with a free trial

Join today to access over 23,200 courses taught by industry experts.

Rust-built Python tools

Rust-built Python tools - Rust Tutorial

From the course: Using Rust with Python

Rust-built Python tools

- [Instructor] There are Rust tools for Python that can make a really big difference in performance. And to start with, let's talk about the data frame tool Polars. And you can see from this diagram that Polars has some of the best performance possible when you're dealing with big data. And it has extremely large performance gains when you compare it to things like Spark or even Dask or PANDAS, et cetera. In fact, PANDAS won't even run for something that has a million rows. The 50 gigabyte difference is something that handles easily in Rust because of the way the language is developed. Now, if we take a look at Polars here, it is a data frame library written in Rust. It's designed for parallel and efficient data processing, and it's a key component in big data and distributed systems. And it also has advanced, multi-threaded capabilities, which is one of the really advanced features of the Rust language. And it leverages Rust memory, safety and performance. And it can often compete…

Contents