Speed Up Your Python with Rust

Speed Up Your Python with Rust

Maxwell Flitton

64,40 €
IVA incluido
Disponible
Editorial:
Packt Publishing
Año de edición:
2022
ISBN:
9781801811446
64,40 €
IVA incluido
Disponible

Selecciona una librería:

  • Librería Samer Atenea
  • Librería Aciertas (Toledo)
  • Kálamo Books
  • Librería Perelló (Valencia)
  • Librería Elías (Asturias)
  • Donde los libros
  • Librería Kolima (Madrid)
  • Librería Proteo (Málaga)

Discover how to inject your code with highly performant Rust features to develop fast and memory-safe applicationsKey Features:Learn to implement Rust in a Python system without altering the entire systemWrite safe and efficient Rust code as a Python developer by understanding the essential features of RustBuild Python extensions in Rust by using Python NumPy modules in your Rust codeBook 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 RustUnderstand the trade-offs for multiprocessing and thread safety to write concurrent codeBuild and manage a software project with cargo and cratesFuse Rust code with Python so that Python can import and run Rust codeDeploy a Python Flask application in Docker that utilizes a private Rust pip moduleInspect and create your own Python objects in RustWho 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.

Artículos relacionados

  • Innovations in XML Applications and Metadata Management
    As new concepts such as virtualization, cloud computing, and web applications continue to emerge, XML has begun to assume the role as the universal language for communication among contrasting systems that grow throughout the internet. Innovations in XML Applications and Metadata Management: Advancing Technologies addresses the functionality between XML and its related technolo...
  • THEORY AND PRACTICE OF COMPUTATION
    MASAYUKI NUMAO JAIME SHIN-YA NISHIZAKI / NISHIZAKI SHIN-YA
     This is the proceedings of the Third Workshop on Computing: Theory and Practice, WCTP 2013 devoted to theoretical and practical approaches to computation. This workshop was organized by four top universities in Japan and the Philippines: Tokyo Institute of Technology, Osaka University, University of the Philippines — Diliman, and De La Salle University. The proceedings provide...
  • React 16 Tooling
    Adam Boduch
    ...
    Disponible

    69,99 €

  • HP Certified Systems Administrator (2nd Edition)
    Asghar Ghori
    Like the first edition of this book, the second edition also covers three main objectives ¿ to provide a comprehensive resource to individuals, including novice, IT/Non-HP-UX administrators, and HP-UX administrators who intend to take the new HP Certified Systems Administrator exam HP0-095 and pass it; to provide a quick and valuable on-the-job resource to HP-UX administrators,...
    Disponible

    58,77 €

  • Build your own Programming Language - Second Edition
    Clinton L. Jeffery / Imran Ahmad
    Learn to design your own programming language in a hands-on way by building compilers, using preprocessors, transpilers, and more, in this fully-refreshed second edition, written by the creator of the Unicon programming language.Purchase of the print or Kindle book includes a free PDF eBookKey Features- Takes a hands-on approach; learn by building the Jzero language, a subset o...
    Disponible

    74,14 €

  • Hands-On Unity Game Development - Fourth Edition
    Juan Gabriel Gomila Salas / Nicolas Alejandro Borromeo
    Unlock game development mastery with Unity 2023! This book takes you from conception to publication, equipping you with the key tools and techniques you need to bring your gaming vision to life.Key FeaturesLearn the fundamentals of Unity 2023 and create your dream gameExplore the world of augmented reality (AR) to create captivating mobile gamesPropel game performance and playe...
    Disponible

    73,58 €

Otros libros del autor

  • Rust Web Programming - Third Edition
    Maxwell Flitton
    A comprehensive guide to developing, packaging, and deploying Rust web applications - with new coverage on async Rust, WebAssembly, nanoservices, and more.Purchase of the print or Kindle book includes a free eBook in PDF format.Key Features:- Get a comprehensive introduction to Rust for full-stack web development- Explore the exciting evolution of Rust in recent years with WebA...
    Disponible

    72,84 €

  • Rust Web Programming - Second Edition
    Maxwell Flitton
    Use the Rust programming language to build fully functional web applications with async Rust to amplify security and boost the performance of your programsKey Features:Work with cutting-edge web techniques such as distroless Rust servers, Terraform, and AWS deploymentGet acquainted with async concepts such as actors and queuing tasks using lower-level frameworks like TokioBuild...
    Disponible

    75,35 €

  • Rust Web Programming
    Maxwell Flitton
    Adopt the Rust programming language by learning how to build fully functional web applications and services and address challenges relating to safety and performanceKey Features:Build scalable web applications in Rust using popular frameworks such as Actix, Rocket, and WarpCreate front-end components that can be injected into multiple viewsDevelop data models in Rust to interac...
    Disponible

    64,51 €