
Speed Up Your Python with Rust: Optimize Python performance by creating Python pip modules in Rust with PyO3 (Paperback)
About this item
At a glance
- Genre
- Computing & Internet
- Original languages
- English
- Age group
- Adult
- Book format
- Paperback
- Pages
- 384
- Publisher
- Packt Publishing
- Free shipping
Free 90-day returns
How do you want your item?
More seller options (2)
Get free delivery, shipping and more*
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
Language
Publisher
Book Format
Original Languages
Warranty
Warranty information
Compare with similar items
Product | Viewing this itemSpeed Up Your Python with Rust: Optimize Python performance by creating Python pip modules in Rust with PyO3 (Paperback) ![]() $43.99 current price $43.99 | Dead Simple Python : Idiomatic Python for the Impatient Programmer (Paperback) ![]() $63.58 current price $63.58 | Generative AI on Google Cloud with LangChain: Design scalable generative AI solutions with Python, LangChain, and Vertex, (Paperback) ![]() $44.99 current price $44.99 | The Python Library Reference (Paperback) ![]() $43.55 current price $43.55 | Foundation DB2 and Python: Access DB2 with Module-Based API Examples Using Python (Paperback) ![]() $45.33 current price $45.33 | Python for Data Analysis : Master Deep Learning with Python Language and Become Great at Programming Python for Beginners with Hands-on Project (Data Science) (Hardcover) ![]() $41.54 current price $41.54 | Python Performance Tuning : Tricks & Techniken um schnelleren Python Code zu schreiben (Paperback) ![]() $23.90 current price $23.90 | Python for Geeks: Build production-ready applications using advanced Python concepts and industry best practices (Paperback) ![]() $42.27 current price $42.27 | Hands-On Web Scraping with Python - Second Edition: Extract quality data from the web using effective Python techniques (Paperback) ![]() $32.34 current price $32.34 | Hyperparameter Tuning with Python: Boost your machine learning model's performance via hyperparameter tuning (Paperback) ![]() $44.85 current price $44.85 |
---|
Genre | Computing & InternetSpeed Up Your Python with Rust: Optimize Python performance by creating Python pip modules in Rust with PyO3 (Paperback) | Computing & InternetDead Simple Python : Idiomatic Python for the Impatient Programmer (Paperback) | Computing & InternetGenerative AI on Google Cloud with LangChain: Design scalable generative AI solutions with Python, LangChain, and Vertex, (Paperback) | Computing & InternetThe Python Library Reference (Paperback) | Computing & InternetFoundation DB2 and Python: Access DB2 with Module-Based API Examples Using Python (Paperback) | Computing & InternetPython for Data Analysis : Master Deep Learning with Python Language and Become Great at Programming Python for Beginners with Hands-on Project (Data Science) (Hardcover) | Computing & InternetPython Performance Tuning : Tricks & Techniken um schnelleren Python Code zu schreiben (Paperback) | Computing & InternetPython for Geeks: Build production-ready applications using advanced Python concepts and industry best practices (Paperback) | Computing & InternetHands-On Web Scraping with Python - Second Edition: Extract quality data from the web using effective Python techniques (Paperback) | -Hyperparameter Tuning with Python: Boost your machine learning model's performance via hyperparameter tuning (Paperback) |
---|---|---|---|---|---|---|---|---|---|---|
Original languages | EnglishSpeed Up Your Python with Rust: Optimize Python performance by creating Python pip modules in Rust with PyO3 (Paperback) | EnglishDead Simple Python : Idiomatic Python for the Impatient Programmer (Paperback) | EnglishGenerative AI on Google Cloud with LangChain: Design scalable generative AI solutions with Python, LangChain, and Vertex, (Paperback) | -The Python Library Reference (Paperback) | EnglishFoundation DB2 and Python: Access DB2 with Module-Based API Examples Using Python (Paperback) | -Python for Data Analysis : Master Deep Learning with Python Language and Become Great at Programming Python for Beginners with Hands-on Project (Data Science) (Hardcover) | GermanPython Performance Tuning : Tricks & Techniken um schnelleren Python Code zu schreiben (Paperback) | EnglishPython for Geeks: Build production-ready applications using advanced Python concepts and industry best practices (Paperback) | EnglishHands-On Web Scraping with Python - Second Edition: Extract quality data from the web using effective Python techniques (Paperback) | EnglishHyperparameter Tuning with Python: Boost your machine learning model's performance via hyperparameter tuning (Paperback) |
Age group | AdultSpeed Up Your Python with Rust: Optimize Python performance by creating Python pip modules in Rust with PyO3 (Paperback) | AdultDead Simple Python : Idiomatic Python for the Impatient Programmer (Paperback) | AdultGenerative AI on Google Cloud with LangChain: Design scalable generative AI solutions with Python, LangChain, and Vertex, (Paperback) | AdultThe Python Library Reference (Paperback) | AdultFoundation DB2 and Python: Access DB2 with Module-Based API Examples Using Python (Paperback) | -Python for Data Analysis : Master Deep Learning with Python Language and Become Great at Programming Python for Beginners with Hands-on Project (Data Science) (Hardcover) | AdultPython Performance Tuning : Tricks & Techniken um schnelleren Python Code zu schreiben (Paperback) | AdultPython for Geeks: Build production-ready applications using advanced Python concepts and industry best practices (Paperback) | AdultHands-On Web Scraping with Python - Second Edition: Extract quality data from the web using effective Python techniques (Paperback) | AdultHyperparameter Tuning with Python: Boost your machine learning model's performance via hyperparameter tuning (Paperback) |
Book format | PaperbackSpeed Up Your Python with Rust: Optimize Python performance by creating Python pip modules in Rust with PyO3 (Paperback) | PaperbackDead Simple Python : Idiomatic Python for the Impatient Programmer (Paperback) | PaperbackGenerative AI on Google Cloud with LangChain: Design scalable generative AI solutions with Python, LangChain, and Vertex, (Paperback) | PaperbackThe Python Library Reference (Paperback) | PaperbackFoundation DB2 and Python: Access DB2 with Module-Based API Examples Using Python (Paperback) | HardcoverPython for Data Analysis : Master Deep Learning with Python Language and Become Great at Programming Python for Beginners with Hands-on Project (Data Science) (Hardcover) | PaperbackPython Performance Tuning : Tricks & Techniken um schnelleren Python Code zu schreiben (Paperback) | PaperbackPython for Geeks: Build production-ready applications using advanced Python concepts and industry best practices (Paperback) | PaperbackHands-On Web Scraping with Python - Second Edition: Extract quality data from the web using effective Python techniques (Paperback) | PaperbackHyperparameter Tuning with Python: Boost your machine learning model's performance via hyperparameter tuning (Paperback) |
Similar items you might like
Based on what customers bought
Dead Simple Python : Idiomatic Python for the Impatient Programmer (Paperback)
Dead Simple Python : Idiomatic Python for the Impatient Programmer (Paperback)$63.58current price $63.58Shipping, arrives in 3+ daysGenerative AI on Google Cloud with LangChain: Design scalable generative AI solutions with Python, LangChain, and Vertex, (Paperback)
Generative AI on Google Cloud with LangChain: Design scalable generative AI solutions with Python, LangChain, and Vertex, (Paperback)$44.99current price $44.99Save withShipping, arrives in 3+ daysThe Python Library Reference (Paperback)
The Python Library Reference (Paperback)$43.55current price $43.55Save withShipping, arrives in 3+ daysFoundation DB2 and Python: Access DB2 with Module-Based API Examples Using Python (Paperback)
Foundation DB2 and Python: Access DB2 with Module-Based API Examples Using Python (Paperback)$45.33current price $45.33Save withShipping, arrives in 3+ daysHyperparameter Tuning with Python: Boost your machine learning model's performance via hyperparameter tuning (Paperback)
Hyperparameter Tuning with Python: Boost your machine learning model's performance via hyperparameter tuning (Paperback)$44.85current price $44.85Save withShipping, arrives in 3+ daysGetting Started with Python: Understand key data structures and use Python in object-oriented programming, (Paperback)
Getting Started with Python: Understand key data structures and use Python in object-oriented programming, (Paperback)$40.00current price $40.00Save withShipping, arrives in 3+ daysPython for Excel Users: Boost Productivity Without Becoming a Programmer, (Paperback)
Python for Excel Users: Boost Productivity Without Becoming a Programmer, (Paperback)$49.99current price $49.99Save withPreorder
Release date Sep 23Shipping, arrives by Sep 25Python 3.6 Extending and Embedding Python
Python 3.6 Extending and Embedding Python$24.99current price $24.99Save withShipping, arrives in 3+ daysDjango 5 By Example - Fifth Edition: Build powerful and reliable Python web applications from scratch, (Paperback)
Django 5 By Example - Fifth Edition: Build powerful and reliable Python web applications from scratch, (Paperback)$31.93current price $31.93Save withShipping, arrives in 3+ daysCoding in Python: Tips and Tricks to Coding with Python Using the Principles and Theories of Python Programming (Paperback)
Coding in Python: Tips and Tricks to Coding with Python Using the Principles and Theories of Python Programming (Paperback)$19.99current price $19.99Save withShipping, arrives in 3+ daysCoding in Python: Tips and Tricks to Coding with Python Using the Principles and Theories of Python Programming (Paperback)
Coding in Python: Tips and Tricks to Coding with Python Using the Principles and Theories of Python Programming (Paperback)$19.99current price $19.99Save withShipping, arrives in 3+ daysPython Data Structures and Algorithms: Improve application performance with graphs, stacks, and queues (Paperback)
Python Data Structures and Algorithms: Improve application performance with graphs, stacks, and queues (Paperback)$41.29current price $41.29Save withShipping, arrives in 3+ daysHands-On Python for DevOps: Leverage Python's native libraries to streamline your workflow and save time with automation (Paperback)
Hands-On Python for DevOps: Leverage Python's native libraries to streamline your workflow and save time with automation (Paperback)$38.83current price $38.83Save withShipping, arrives in 3+ daysDancing with Python: Learn to code with Python and Quantum Computing (Paperback)
Dancing with Python: Learn to code with Python and Quantum Computing (Paperback)$46.57current price $46.57Save withShipping, arrives in 3+ daysModern Data Architectures with Python: A practical guide to building and deploying data pipelines, data warehouses, and data lakes with Python (Paperback)
Modern Data Architectures with Python: A practical guide to building and deploying data pipelines, data warehouses, and data lakes with Python (Paperback)$49.99current price $49.99Save withShipping, arrives in 3+ daysPython Data Cleaning Cookbook: Modern techniques and Python tools to detect and remove dirty data and extract key insights (Paperback)
Python Data Cleaning Cookbook: Modern techniques and Python tools to detect and remove dirty data and extract key insights (Paperback)Now $41.91current price Now $41.91$46.57Was $46.57Save withShipping, arrives in 3+ daysFunctional Python Programming - Third Edition: Use a functional approach to write succinct, expressive, and efficient Py, (Paperback)
Functional Python Programming - Third Edition: Use a functional approach to write succinct, expressive, and efficient Py, (Paperback)$41.21current price $41.21Save withShipping, arrives in 3+ daysNatural Computing with Python: Learn to implement genetic and evolutionary algorithms to solve problems in a pythonic way (Paperback)
Natural Computing with Python: Learn to implement genetic and evolutionary algorithms to solve problems in a pythonic way (Paperback)$19.95current price $19.95Save withShipping, arrives in 3+ daysHypermodern Python Tooling: Building Reliable Workflows for an Evolving Python Ecosystem
Hypermodern Python Tooling: Building Reliable Workflows for an Evolving Python Ecosystem$37.53current price $37.53Save withShipping, arrives in 3+ daysMastering Python Design Patterns - Third Edition: Craft essential Python patterns by following core design principles, (Paperback)
Mastering Python Design Patterns - Third Edition: Craft essential Python patterns by following core design principles, (Paperback)$34.49current price $34.49Save withShipping, arrives in 3+ days
Customers also considered
Python for Data Analysis : Master Deep Learning with Python Language and Become Great at Programming Python for Beginners with Hands-on Project (Data Science) (Hardcover)
Python for Data Analysis : Master Deep Learning with Python Language and Become Great at Programming Python for Beginners with Hands-on Project (Data Science) (Hardcover)$41.54current price $41.54Save withShipping, arrives in 3+ daysPython Performance Tuning : Tricks & Techniken um schnelleren Python Code zu schreiben (Paperback)
Python Performance Tuning : Tricks & Techniken um schnelleren Python Code zu schreiben (Paperback)$23.90current price $23.90Save withShipping, arrives in 3+ daysPython for Geeks: Build production-ready applications using advanced Python concepts and industry best practices (Paperback)
Python for Geeks: Build production-ready applications using advanced Python concepts and industry best practices (Paperback)$42.27current price $42.27Save withShipping, arrives in 3+ daysHands-On Web Scraping with Python - Second Edition: Extract quality data from the web using effective Python techniques (Paperback)
Hands-On Web Scraping with Python - Second Edition: Extract quality data from the web using effective Python techniques (Paperback)$32.34current price $32.34Save withShipping, arrives in 3+ daysOptimizing Visual Studio Code for Python Development: Developing More Efficient and Effective Programs in Python (Paperback)
Optimizing Visual Studio Code for Python Development: Developing More Efficient and Effective Programs in Python (Paperback)$46.84current price $46.84Save withShipping, arrives in 3+ daysPython Architecture Patterns: Master API design, event-driven structures, and package management in Python (Paperback)
Python Architecture Patterns: Master API design, event-driven structures, and package management in Python (Paperback)$41.99current price $41.99Save withShipping, arrives in 3+ daysPython Microservices Development - Second Edition: Build efficient and lightweight microservices using the Python tooling ecosystem (Paperback)
Python Microservices Development - Second Edition: Build efficient and lightweight microservices using the Python tooling ecosystem (Paperback)$46.57current price $46.57Save withShipping, arrives in 3+ daysMachine Learning With Python : The Definitive Tool to Improve Your Python Programming and Deep Learning to Take You to The Next Level of Coding and Algorithms Optimization (Hardcover)
Machine Learning With Python : The Definitive Tool to Improve Your Python Programming and Deep Learning to Take You to The Next Level of Coding and Algorithms Optimization (Hardcover)$30.26current price $30.26Save withShipping, arrives in 3+ daysCognitive Technologies Python for Natural Language Processing: Programming with Numpy, Scikit-Learn, Keras, and Pytorch, (Hardcover)
Cognitive Technologies Python for Natural Language Processing: Programming with Numpy, Scikit-Learn, Keras, and Pytorch, (Hardcover)$43.85current price $43.85Save withShipping, arrives in 3+ daysPython Internals for Developers: Practice Python 3.x Fundamentals, Including Data Structures, Asymptotic Analysis, and Data Types (Paperback)
Python Internals for Developers: Practice Python 3.x Fundamentals, Including Data Structures, Asymptotic Analysis, and Data Types (Paperback)$19.95current price $19.95Save withShipping, arrives in 3+ daysParallel Programming with Python: Develop Efficient Parallel Systems Using the Robust Python Environment (Paperback)
Parallel Programming with Python: Develop Efficient Parallel Systems Using the Robust Python Environment (Paperback)$23.99current price $23.99Save withShipping, arrives in 3+ daysBuilding Python Microservices with FastAPI: Build secure, scalable, and structured Python microservices from design concepts to infrastructure (Paperback)
Building Python Microservices with FastAPI: Build secure, scalable, and structured Python microservices from design concepts to infrastructure (Paperback)$44.85current price $44.85Save withShipping, arrives in 3+ daysThe Python Library Reference (Paperback)
The Python Library Reference (Paperback)$39.89current price $39.89Save withShipping, arrives in 3+ daysGetting Started with Python for the Internet of Things: Leverage the full potential of Python to prototype and build IoT, (Paperback)
Getting Started with Python for the Internet of Things: Leverage the full potential of Python to prototype and build IoT, (Paperback)$47.42current price $47.42Save withShipping, arrives in 3+ daysModern Python Standard Library Cookbook: Over 100 recipes to fully leverage the features of the standard library in Python (Paperback)
Modern Python Standard Library Cookbook: Over 100 recipes to fully leverage the features of the standard library in Python (Paperback)$39.99current price $39.99Save withShipping, arrives in 3+ daysLearn Python Fast: This Book Includes: Python Machine Learning and Data Science. The Complete Starter Guide for Total Be, (Paperback)
Learn Python Fast: This Book Includes: Python Machine Learning and Data Science. The Complete Starter Guide for Total Be, (Paperback)Now $23.20current price Now $23.20$25.95Was $25.95Save withShipping, arrives in 3+ dayspython for data analisys: python for data analysis: the python crash course comprehensive the programming from the ground up to python (Paperback)
python for data analisys: python for data analysis: the python crash course comprehensive the programming from the ground up to python (Paperback)$10.49current price $10.49Save withShipping, arrives in 3+ daysLearning Python: Learn to code like a professional with Python - an open source, versatile, and powerful programming language (Paperback)
Learning Python: Learn to code like a professional with Python - an open source, versatile, and powerful programming language (Paperback)$43.99current price $43.99Shipping, arrives in 3+ daysLearn Python Programming - Second Edition: The no-nonsense, beginner's guide to programming, data science, and web development with Python 3.7 (Paperback)
Learn Python Programming - Second Edition: The no-nonsense, beginner's guide to programming, data science, and web development with Python 3.7 (Paperback)$40.37current price $40.3715 out of 5 Stars. 1 reviewsSave withShipping, arrives in 3+ daysMastering Python: How to learn Python Easily and Faster (Hardcover)
Mastering Python: How to learn Python Easily and Faster (Hardcover)$29.17current price $29.17Shipping, arrives in 3+ days
Customer ratings & reviews
Popular items in this category
Best selling items that customers love
Python Programming : 2 Books in 1: Learning Python and Python Machine Learning. A Complete Overview for Beginners. How to Master Python Coding Basics and Effectively Learn Faster Computer Programming (Hardcover)
Python Programming : 2 Books in 1: Learning Python and Python Machine Learning. A Complete Overview for Beginners. How to Master Python Coding Basics and Effectively Learn Faster Computer Programming (Hardcover)$37.29current price $37.29Save withShipping, arrives in 3+ daysOptimizing Java: Practical Techniques for Improving Jvm Application Performance (Paperback)
Optimizing Java: Practical Techniques for Improving Jvm Application Performance (Paperback)$69.03current price $69.03Shipping, arrives in 3+ daysMastering Reinforcement Learning with Python: Build next-generation, self-learning models using reinforcement learning techniques and best practices (Paperback)
Mastering Reinforcement Learning with Python: Build next-generation, self-learning models using reinforcement learning techniques and best practices (Paperback)Now $35.24current price Now $35.24$39.16Was $39.16Save withShipping, arrives in 3+ daysPython Programming Python Programming: Comprehensive Beginners Guide to Learn Python Programming from A-Z, Book 1, (Paperback)
Python Programming Python Programming: Comprehensive Beginners Guide to Learn Python Programming from A-Z, Book 1, (Paperback)$19.99current price $19.99Save withShipping, arrives in 3+ daysLearning Concurrency in Kotlin (Paperback)
Learning Concurrency in Kotlin (Paperback)$46.57current price $46.57Save withShipping, arrives in 3+ daysPython Coding: Python Coding : A Practical Guide Beyond the Basics (Series #2) (Paperback)
Python Coding: Python Coding : A Practical Guide Beyond the Basics (Series #2) (Paperback)$21.99current price $21.99Save withShipping, arrives in 3+ daysHigh Performance Spark: Best Practices for Scaling and Optimizing Apache Spark (Paperback)
High Performance Spark: Best Practices for Scaling and Optimizing Apache Spark (Paperback)$35.29current price $35.29Shipping, arrives in 3+ daysHands-on Scala Programming: Learn Scala in a Practical, Project-Based Way, (Paperback)
Hands-on Scala Programming: Learn Scala in a Practical, Project-Based Way, (Paperback)$49.00current price $49.00Save withPython Machine Learning: The Ultimate Intermediate Guide to Learn Python Machine Learning Step by Step Using Scikit-learn and Tensorflow (Paperback)
Python Machine Learning: The Ultimate Intermediate Guide to Learn Python Machine Learning Step by Step Using Scikit-learn and Tensorflow (Paperback)$24.99current price $24.99Save withShipping, arrives in 3+ daysNetwork Science with Python and NetworkX Quick Start Guide (Paperback)
Network Science with Python and NetworkX Quick Start Guide (Paperback)Now $26.99current price Now $26.99$29.99Was $29.99Save withShipping, arrives in 3+ daysProgramming Scala: Scalability = Functional Programming Objects (Paperback)
Programming Scala: Scalability = Functional Programming Objects (Paperback)$38.49current price $38.49Save withShipping, arrives in 3+ daysMastering High Performance with Kotlin (Paperback)
Mastering High Performance with Kotlin (Paperback)$22.20current price $22.20Save withShipping, arrives in 3+ daysNatural Language Understanding with Python: Combine natural language technology, deep learning, and large language models to create human-like language comprehension in computer systems (Paperback)
Natural Language Understanding with Python: Combine natural language technology, deep learning, and large language models to create human-like language comprehension in computer systems (Paperback)$47.42current price $47.42Save withShipping, arrives in 3+ daysBig Data Analysis with Python (Paperback)
Big Data Analysis with Python (Paperback)$32.82current price $32.82Save withShipping, arrives in 3+ daysLearning Spring Boot 2.0 - Second Edition: Simplify the development of lightning fast applications based on microservices and reactive programming (Paperback)
Learning Spring Boot 2.0 - Second Edition: Simplify the development of lightning fast applications based on microservices and reactive programming (Paperback)$27.63current price $27.63Save withShipping, arrives in 3+ daysNature-Inspired Optimization Algorithms with Java: A Look at Optimization Techniques (Paperback)
Nature-Inspired Optimization Algorithms with Java: A Look at Optimization Techniques (Paperback)$35.36current price $35.36Save withShipping, arrives in 3+ daysThe Lean Six Sigma Pocket Toolbook: A Quick Reference Guide to Nearly 100 Tools for Improving Process Quality, Speed, and Complexity, (Paperback)
The Lean Six Sigma Pocket Toolbook: A Quick Reference Guide to Nearly 100 Tools for Improving Process Quality, Speed, and Complexity, (Paperback)$10.56current price $10.5614 out of 5 Stars. 1 reviewsSave withShipping, arrives in 3+ daysMachine Learning in Python: Hands on Machine Learning with Python Tools, Concepts and Techniques (Hardcover) by Bob Mather
Machine Learning in Python: Hands on Machine Learning with Python Tools, Concepts and Techniques (Hardcover) by Bob Mather$32.99current price $32.99Save withShipping, arrives in 3+ daysJakarta Struts Pocket Reference (Paperback)
Jakarta Struts Pocket Reference (Paperback)$12.99current price $12.99Save withShipping, arrives in 3+ daysApache Karaf Cookbook (Paperback)
Apache Karaf Cookbook (Paperback)$18.63current price $18.63Save withShipping, arrives in 3+ days