LIBRISTO
LIBROAMANTO
mandatory
Become part of a community of book lovers from all over the world and get access to a whole bunch of benefits. Create an account for free
0
Free delivery for purchases over 69.99 €
DPD courier 5.99 Bpost point 7.99 Bpost 7.49 DPD point 3.49 GLS courier 4.49

Free delivery for orders over 69.99 euro.

Speed Up Your Python with Rust

Optimize Python performance by creating Python pip modules in Rust with PyO3

Language EnglishEnglish
Book Paperback
Book Speed Up Your Python with Rust Maxwell Flitton
Libristo code: 38446618
Publishers Packt Publishing Limited, January 2022
Discover how to inject your code with highly performant Rust features to develop fast and memory-saf... Full description
? points 109 b
44.91
In stock at our supplier Shipping in 9-15 days

30-day return policy


Customers also purchased


Managing Mission - Critical Domains and DNS Mark Jeftovic / Book Paperback
common.buy 49.67

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.

Actress & Polyglot
EWA KASP for
Play video
Ewa Kasp
Libristo has the largest selection of foreign-language books. That’s why I buy my books there.

About the book

Full name Speed Up Your Python with Rust
Language English
Binding Book - Paperback
Date of issue 2022
Number of pages 384
EAN 9781801811446
ISBN 180181144X
Libristo code 38446618
Weight 715
Dimensions 75 x 93 x 21
Give this book today
It's easy
1 Add to cart and choose Deliver as present at the checkout 2 We'll send you a voucher 3 The book will arrive at the recipient's address

You might also be interested in


Rust Standard Library Cookbook Jan Nils Ferner / Book Paperback
common.buy 49.67
Command-Line Rust Ken Youens-Clark / Book Paperback
common.buy 49.57
Top
Rust For Rustaceans Jon Gjengset / Book Paperback
common.buy 34.59
Rust High Performance Iban Eguia / Book Paperback
common.buy 49.67
Snowflake Cookbook Hamid Qureshi / Book Paperback
common.buy 50.58
Modern Compiler Implementation in C Andrew W Appel / Book Paperback
common.buy 98.44
Rust in Action Tim McNamara / Book Paperback
common.buy 61.81
Machine Learning with Rust Keiko Nakamura / Book Paperback
common.buy 59.89
ASYNC Rust Caroline Morton / Book Paperback
common.buy 45.22
Programming Rust Jim Blandy / Book Paperback
common.buy 59.89
Hands-on Rust Herbert Wolverson / Book Paperback
common.buy 46.84
Sixteen Ways to Defend a Walled City K J Parker / Book Paperback
common.buy 11.83
Top
Wranglestone Darren Charlton / Book Paperback
common.buy 9.70
Top
Surrounded by Psychopaths Thomas Erikson / Book Paperback
common.buy 11.93
Top
The Art of Darksiders Genesis THQ / Book Hardback
common.buy 44.00
Oxford Handbook of Public Health Practice Ichiro Kawachi / Book Paperback
common.buy 53.61
Ansel Adams' Yosemite Ansel Adams / Book Hardback
common.buy 34.09

Login

Log in to your account. Don't have a Libristo account? Create one now!

 
mandatory
mandatory

Don’t have an account? Discover the benefits of having a Libristo account!

With a Libristo account, you'll have everything under control.

Create a Libristo account