Gå direkte til innholdet

Stort sommersalg på pocket »

Til startsiden
Søk etter din neste leseopplevelse
Speed Up Your Python with Rust
Spar

Speed Up Your Python with Rust

heftet, Engelsk, 2022
Forfatter:
442,-
Sendes innen 4-8 virkedager

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.

Andre har også sett på

  • Gå til Pride and Prejudices produktside
    Bokomslag for Pride and Prejudice
    Jane Austen
    innbundet
  • Gå til Fra uro til ros produktside
    Bokomslag for Fra uro til ro
    Ann-Karin Bakken, Kaja Næss Johannessen
    heftet
  • Gå til En måtte nok ha vært ders produktside
    Bokomslag for En måtte nok ha vært der
    Thomas Korsgaard
    innbundet
  • Gå til Sensitiv; om høysensitive menneskers skjulte kraft i en bråkete, hektisk og overintens produktside
    Bokomslag for Sensitiv; om høysensitive menneskers skjulte kraft i en bråkete, hektisk og overinten
    Andre Sólo, Jenn Granneman
    innbundet
  • Gå til En bedre dag med god omsorg!s produktside
    Bokomslag for En bedre dag med god omsorg!
    Hélène Sogge
    heftet
  • Gå til Norgeparadoxen : En granskning av det goda landets svarta baksidas produktside
    Bokomslag for Norgeparadoxen : En granskning av det goda landets svarta baksida
    Lisa Röstlund
    innbundet
  • Gå til The Let Them Theorys produktside
    Bokomslag for The Let Them Theory
    Mel Robbins
    innbundet
  • Gå til Bäst med banors produktside
    Bokomslag for Bäst med banor
    Maria Brandel, Siv Svendsen
    innbundet
  • Gå til Planleggerens produktside
    Bokomslag for Planleggeren
    Runar Ragnarson Brataas
    øvrig
  • Gå til Barnehageplanlegger 2025 - 2026s produktside
    Bokomslag for Barnehageplanlegger 2025 - 2026
    øvrig
  • Gå til Vardagar 12s produktside
    Bokomslag for Vardagar 12
    Ulf Lundell
    innbundet
  • Gå til Autopilots produktside
    Bokomslag for Autopilot
    Per Asbjørn Risnes, Gunn Elisabeth Håbjørg, Bjørn Mannsverk
    innbundet

Du vil kanskje like

  • Gå til Onyx Storms produktside
    Bokomslag for Onyx Storm
    Rebecca Yarros
    heftet
  • Gå til How Not to Be Wrong: The Power of Mathematical Thinkings produktside
    Bokomslag for How Not to Be Wrong: The Power of Mathematical Thinking
    Jordan Ellenberg
    heftet
  • Gå til How to Win Friends and Influence Peoples produktside
    Bokomslag for How to Win Friends and Influence People
    Dale Carnegie
    heftet
  • Gå til Meditationss produktside
    Bokomslag for Meditations
    Marcus Aurelius
    pocket
  • Gå til Phantoms produktside
    Bokomslag for Phantom
    H. D. Carlton
    pocket
  • Gå til Iron Flames produktside
    Bokomslag for Iron Flame
    Rebecca Yarros
    heftet
  • Gå til Shadows so Cruels produktside
    Bokomslag for Shadows so Cruel
    LIV Zander
    pocket
  • Gå til Haunting Adelines produktside
    Bokomslag for Haunting Adeline
    H. D. Carlton
    pocket
  • Gå til Mom, I Want to Hear Your Storys produktside
    Bokomslag for Mom, I Want to Hear Your Story
    Jeffrey Mason
    pocket
  • Gå til Fast Like a Girls produktside
    Bokomslag for Fast Like a Girl
    Mindy Pelz
    innbundet
  • Gå til A Beautiful Year in the Bible: The 52-Week Bible Study for Women (SC)s produktside
    Bokomslag for A Beautiful Year in the Bible: The 52-Week Bible Study for Women (SC)
    Alabaster Co.
    pocket
  • Gå til Pride and Prejudices produktside
    Bokomslag for Pride and Prejudice
    Jane Austen
    innbundet

Anbefalt for deg

  • Gå til Cybersecurity All-in-One For Dummiess produktside
    Bokomslag for Cybersecurity All-in-One For Dummies
    Joseph Steinberg, Kevin Beaver, Ira Winkler, Ted Coombs
    heftet
  • Gå til Tour of C++, As produktside
    Bokomslag for Tour of C++, A
    Bjarne Stroustrup
    heftet
  • Gå til Domain-Driven Designs produktside
    Bokomslag for Domain-Driven Design
    Eric Evans
    innbundet
  • Gå til Automate the Boring Stuff with Python, 3rd Editions produktside
    Bokomslag for Automate the Boring Stuff with Python, 3rd Edition
    Al Sweigart
    heftet
  • Gå til Bare en runde tils produktside
    Bokomslag for Bare en runde til
    Rune Mentzoni
    innbundet
  • Gå til The Hacker Playbook: Practical Guide to Penetration Testings produktside
    Bokomslag for The Hacker Playbook: Practical Guide to Penetration Testing
    Peter Kim
    heftet
  • Gå til Write Great Code, Volume 1, 2nd Editions produktside
    Bokomslag for Write Great Code, Volume 1, 2nd Edition
    Randall Hyde
    heftet
  • Gå til Clean Codes produktside
    Bokomslag for Clean Code
    Robert Martin
    heftet
  • Gå til Microsoft PowerPoint 2016 Step by Steps produktside
    Bokomslag for Microsoft PowerPoint 2016 Step by Step
    Joan Lambert
    heftet
  • Gå til Kafka - The Definitive Guides produktside
    Bokomslag for Kafka - The Definitive Guide
    Gwen Shapira, Todd Palino, Rajini Sivaram
    heftet
  • Gå til Mazes for Programmerss produktside
    Bokomslag for Mazes for Programmers
    Jamis Buck
    heftet
  • Gå til CCNA 200-301 Official Cert Guide Librarys produktside
    Bokomslag for CCNA 200-301 Official Cert Guide Library
    Wendell Odom, David Hucaby, Jason Gooley
    øvrig

Mer om Adlibris

Om Adlibris

Vi er Nordens største nettbokhandel, og tilbyr over 13 millioner boktitler og det meste av det beste innen spill, leker, hobby og garn. Vår misjon er å være en moderne bokhandel for alle bokelskere: et innbydende sted for lesing, læring og skaping. Det er hva som driver oss, hver dag. Adlibris er en del av Bonnier Group.

  • Alltid gode priser

  • Fri frakt over 299,-

  • Nordens største bokhandel

Meld deg på nyhetsbrev

Motta våre beste boktips, nyheter og gode tilbud. Registrer deg nå, og få 10% rabatt på det første kjøpet ditt. Tilbudet gjelder kun nye abonnenter og privatkunder. Rabatten gjelder ikke norske bøker utgitt 2024, fag- og studielitteratur, digitale bøker og gavekort.