Speed Up Your Python with Rust: Optimize Python performance by creating Python pip modules in Rust with PyO3
Thumbnail 1

Speed Up Your Python with Rust: Optimize Python performance by creating Python pip modules in Rust with PyO3

4.6/5
Product ID: 420221964
Secure Transaction

Description

Speed Up Your Python with Rust: Optimize Python performance by creating Python pip modules in Rust with PyO3

Reviews

4.6

All from verified purchases

E**Y

Must have guide for Python developers

A great one-stop shop for people looking to transfer their understanding and knowledge of Python to Rust. It is not only an introduction to Rust with an explanation of how to structure the code but also a ready solution for structuring a Python Flask App for Rust. My favourite chapter is the last one which delves into the best practices of the integration of those two technologies.This book is a must-have as a Python developer, to start using Rust in your Python projects without having to manage a separate Rust server or application. Rust with its low memory footprint will help you overcome memory management issues that lead to poor performance and security in your applications.

J**S

Makes learning so much faster

This book is absolutely amazing. It teaches Rust based off of Python, which makes learning Rust sooo much faster. It also teaches Rust and Python packaging which is great.One thing to note for PyPy users though, unfortunately converting a lot of my python code to Rust with Rust bindings didn't speed up my code, it slowed it down by 3x. Rust is faster than Python, but for many applications, not faster than PyPy. If you look up PyO3 there's an issue on it where the maintainer openly admits it's not as fast, and claims that for Python optimizations pypy is the gold standard. If you can cordon off a part of your application to be entirely in Rust, this might still be faster, but I needed to go back and forth between Rust and PyPy objects and this resulted in a huge slowdown.The book compares against Python but i didn't see a similar comparison to PyPy. I tried to do the comparison myself using the book examples, but I must have made a mistake since it wouldn't compile the Rust part of it for chapters 5 or 6.Still, that's no fault of the book, that's just a limitation of PyO3. The book is amazing, and with this book I was successfully able to properly convert my packages to using Rust bindings, something even chat gpt could not do.

R**R

Straight to the point.

The book goes at fast pace, which I feel OK with. Understanding the fundamentals of Python and Rust, comparing them and configuring a setup that combines both (while applying best software engineering practices) would be a great a way of describing my experience while reading it.

Common Questions

Trustpilot

TrustScore 4.5 | 7,300+ reviews

Anita G.

Good experience, but the tracking updates could be better.

2 months ago

Neha S.

Excellent communication throughout the order process. Product is perfect.

2 weeks ago

Shop Global, Save with Desertcart
Value for Money
Competitive prices on a vast range of products
Shop Globally
Serving over 300 million shoppers across more than 200 countries
Enhanced Protection
Trusted payment options loved by worldwide shoppers
Customer Assurance
Trusted payment options loved by worldwide shoppers.
Desertcart App
Shop on the go, anytime, anywhere.
MOP$631

Duties & taxes incl.

Macaustore
1
Free Returns

30 daysfor PRO membership users

15 dayswithout membership

Secure Transaction

Trustpilot

TrustScore 4.5 | 7,300+ reviews

Khalid Z.

Great experience from order to delivery. Highly recommended!

1 week ago

Imran F.

Very reliable shop with genuine products. Will definitely buy again!

2 weeks ago

Speed Up Your Python With Rust Optimize Python Performance By | Desertcart Macau