
Speed Up Your Python with Rust: Optimize Python performance by creating Python pip modules in Rust with PyO3 (Paperback)
Key item features
Specs
- Book formatPaperback
- Fiction/nonfictionNon-Fiction
- GenreComputing & Internet
- Pages384
- SubgenreComputers
- EditionStandard Edition
- Free shipping
Free 90-day returns
How do you want your item?
More seller options (2)
Try 30 days of Walmart+ for just $1!
About this item
Product details
Discover how to inject your code with highly performant Rust features to develop fast and memory-safe applications
Key Features:
- Learn to implement Rust in a Python system without altering the entire system
- Write safe and efficient Rust code as a Python developer by understanding the essential features of Rust
- Build Python extensions in Rust by using Python NumPy modules in your Rust code
Book Description:
Python has made software development easier, but it falls short in several areas including memory management that lead to poor performance and security. Rust, on the other hand, provides memory safety without using a garbage collector, which means that with its low memory footprint, you can build high-performant and secure apps relatively easily. However, rewriting everything in Rust can be expensive and risky as there might not be package support in Rust for the problem being solved. This is where Python bindings and pip come in.
This book will help you, as a Python developer, to start using Rust in your Python projects without having to manage a separate Rust server or application. Seeing as you'll already understand concepts like functions and loops, this book covers the quirks of Rust such as memory management to code Rust in a productive and structured manner. You'll explore the PyO3 crate to fuse Rust code with Python, learn how to package your fused Rust code in a pip package, and then deploy a Python Flask application in Docker that uses a private Rust pip module. Finally, you'll get to grips with advanced Rust binding topics such as inspecting Python objects and modules in Rust.
By the end of this Rust book, you'll be able to develop safe and high-performant applications with better concurrency support.
What You Will Learn:
- Explore the quirks of the Rust programming language that a Python developer needs to understand to code in Rust
- Understand the trade-offs for multiprocessing and thread safety to write concurrent code
- Build and manage a software project with cargo and crates
- Fuse Rust code with Python so that Python can import and run Rust code
- Deploy a Python Flask application in Docker that utilizes a private Rust pip module
- Inspect and create your own Python objects in Rust
Who this book is for:
This book is for Python developers who want to speed up their Python code with Rust and implement Rust in a Python system without altering the entire system. You'll be able to learn about all topics relating to Rust programming. Basic knowledge of Python is required to get the most out of this book.
Specifications
Book format
Fiction/nonfiction
Genre
Pages
Warranty
Warranty information
Similar items you might like
Based on what customers bought
Learn Model Context Protocol with Python: Build agentic systems in Python with the new standard for AI capabilities, (Paperback) $36.99
$3699current price $36.99Learn Model Context Protocol with Python: Build agentic systems in Python with the new standard for AI capabilities, (Paperback)
Programming: 4 Books in 1: Python Programming & Crash Course, Machine Learning for Beginners, Python (Paperback) by James Deep $31.38
$3138current price $31.38Programming: 4 Books in 1: Python Programming & Crash Course, Machine Learning for Beginners, Python (Paperback) by James Deep
Asynchronous Programming in Python: Apply asyncio in Python to build scalable, high-performance apps across multiple sce, (Paperback) $44.97
$4497current price $44.97Asynchronous Programming in Python: Apply asyncio in Python to build scalable, high-performance apps across multiple sce, (Paperback)
Python Simplified with Generative AI: Hands-on Python development with GenAI tools integrating data science and web inte, (Paperback) $39.95
$3995current price $39.95Python Simplified with Generative AI: Hands-on Python development with GenAI tools integrating data science and web inte, (Paperback)
Python: Ensure your code is sleek, efficient and elegant by mastering powerful Python design patterns, (Paperback) $36.39
$3639current price $36.39Python: Ensure your code is sleek, efficient and elegant by mastering powerful Python design patterns, (Paperback)
Crushing The Technical Interview: Data Structures And Algorithms (Python Edition), (Paperback) $44.99
$4499current price $44.99Crushing The Technical Interview: Data Structures And Algorithms (Python Edition), (Paperback)
Mastering Flask for Python Developers: Build Web Applications with This Lightweight Python Framework, (Paperback) $19.99
$1999current price $19.99Mastering Flask for Python Developers: Build Web Applications with This Lightweight Python Framework, (Paperback)
Python Data Structures and Algorithms: Improve application performance with graphs, stacks, and queues, (Paperback) $41.29
$4129current price $41.29Python Data Structures and Algorithms: Improve application performance with graphs, stacks, and queues, (Paperback)
Mastering Algorithms with Python: A Practical Approach to Problem Solving and Python Implementation, (Paperback) $23.57 Was $30.14
$2357current price $23.57, Was $30.14$30.14Mastering Algorithms with Python: A Practical Approach to Problem Solving and Python Implementation, (Paperback)
Modern Python Programming using ChatGPT: 10x your software development skills with Python (English Edition), (Paperback) $27.95
$2795current price $27.95Modern Python Programming using ChatGPT: 10x your software development skills with Python (English Edition), (Paperback)
Ultimate Python Programming: Learn Python with 650 Programs, 900 Practice Questions, and 5 Projects, (Paperback) $34.50
$3450current price $34.50Ultimate Python Programming: Learn Python with 650 Programs, 900 Practice Questions, and 5 Projects, (Paperback)
Clean Architecture with Python: Implement scalable and maintainable applications using proven architectural principles, (Paperback) $32.39
$3239current price $32.39Clean Architecture with Python: Implement scalable and maintainable applications using proven architectural principles, (Paperback)
Getting Started with Python: Understand key data structures and use Python in object-oriented programming, (Paperback) $39.00
$3900current price $39.00Getting Started with Python: Understand key data structures and use Python in object-oriented programming, (Paperback)
Self-Learning Management Python Essentials You Always Wanted to Know: Beginner's Guide to Python Programming, Data Structures, Data Analytic, (Paperback) $31.99
$3199current price $31.99Self-Learning Management Python Essentials You Always Wanted to Know: Beginner's Guide to Python Programming, Data Structures, Data Analytic, (Paperback)
Pre-Owned Black Hat Python, 2nd Edition: Python Programming for Hackers and Pentesters (Paperback) 1718501129 9781718501126 $33.02
$3302current price $33.02Pre-Owned Black Hat Python, 2nd Edition: Python Programming for Hackers and Pentesters (Paperback) 1718501129 9781718501126
Mastering Python Networking - Third Edition: Your one-stop solution to using Python for network automation, programmabil, (Paperback) $45.09
$4509current price $45.09Mastering Python Networking - Third Edition: Your one-stop solution to using Python for network automation, programmabil, (Paperback)
15 out of 5 Stars. 1 reviewsDead Simple Python : Idiomatic Python for the Impatient Programmer (Paperback) $44.52
$4452current price $44.52Dead Simple Python : Idiomatic Python for the Impatient Programmer (Paperback)
Generative AI on Google Cloud with LangChain: Design scalable generative AI solutions with Python, LangChain, and Vertex, (Paperback) $44.99
$4499current price $44.99Generative AI on Google Cloud with LangChain: Design scalable generative AI solutions with Python, LangChain, and Vertex, (Paperback)
Foundation DB2 and Python: Access DB2 with Module-Based API Examples Using Python, (Paperback) $46.65
$4665current price $46.65Foundation DB2 and Python: Access DB2 with Module-Based API Examples Using Python, (Paperback)
Python Microservices Development - Second Edition: Build efficient and lightweight microservices using the Python tooling ecosystem (Paperback) $48.99
$4899current price $48.99Python Microservices Development - Second Edition: Build efficient and lightweight microservices using the Python tooling ecosystem (Paperback)
