Flitton, Maxwell
Speed Up Your Python with Rust: Optimize Python performance by creating Python pip modules in Rust with PyO3
- ISBN 13:
- 9781801811446
- author:
- Flitton, Maxwell
- format:
- Paperback
- publisher:
- Packt Publishing
- language:
- English
- Publication Year:
- 2022
- Pages:
- 384
- Dimensions:
- 23.5 x 19.1 x 2 centimetres (0.6
- Genre:
- General (US: Trade), Computers, Programming,
- Condition:
- New
- Availability:
- Item usually sent within 7 working days
Description
Boost your Python projects with high-performance Rust features and create memory-safe applications.
Rust provides a low-memory footprint and security benefits, but reframing everything in Rust can be expensive and risky. This book shows you how to use Rust in your Python projects without managing a separate Rust server or application. You'll learn to implement safe and efficient Rust code as a Python developer, build Python extensions in Rust using Python NumPy modules, and deploy a Python Flask application in Docker that uses a private Rust pip module.
By the end of this book, you'll be able to develop fast and secure applications with better concurrency support. You'll explore advanced Rust binding topics such as inspecting Python objects and modules in Rust, making it easy to integrate Rust code with your existing Python projects.