Desvende a performance e segurança de Rust, vindo do mundo Python. Este livro é o seu guia para transicionar do mundo produtivo e ágil de Python para a segurança e performance de Rust. Prepare-se para uma jornada que transformará sua maneira de programar, unindo a produtividade que você já conhece com a performance e segurança que só Rust pode oferecer. Se você é um desenvolvedor Python buscando otimizar performance, explorar concorrência ou simplesmente expandir seu conjunto de habilidades, este livro é para você.
Staring from the basics this book will help you become a Rust programmer. It includes hundreds of examples and explanations on both the mundane and the complex topics of Rust.
In this book, you and I will build a sample book-selling application that evolves as you progress. You'll start by setting up Rust, Cargo, and Leptos in VS Code, compiling your first WebAssembly bundle, and watching "Hello, LibroCommerce!" light up your browser. You'll design a microservice-inspired architecture, model data with Serde-annotated structs, implement CRUD operations, secure every endpoint, then broadcast channels, and finally you get to write Playwright end-to-end tests that spin up headless browsers, place orders, and assert live status updates, all inside your continuous integration pipeline.
Why Rust is the Right Companion for Your JourneyRust isn’t about doing the same old things in a new way. It’s about rethinking what programming should feel like. It combines the strengths of its peers while addressing their weaknesses: the simplicity of Python, the versatility of JavaScript, and the power of C++, all wrapped in a package that prioritizes the programmer’s experience.Whether you’re writing software for a simple task or building systems that power the future, Rust equips you with the tools to succeed. It’s not just a language—it’s a philosophy, a guide, and a companion for your programming journey. Together, we’ll unlock its potential and discover what makes Rust truly remarkable. Let’s continue the adventure!
The book contains the full Software Diagnostics Services training transcript and ten step-by-step exercises. It covers dozens of crash dump analysis patterns from the x64 process and complete (physical) memory dumps. Learn how to analyze Rust application crashes and freezes, navigate through memory dump space, and diagnose heap corruption, memory leaks, CPU spikes, blocked threads, deadlocks, wait chains, and more with the WinDbg debugger. The training uses a unique and innovative pattern-oriented analysis approach focusing on safe and unsafe Rust code and its interfacing with the Windows OS. It is useful whether you come to Rust from C and C++ or interpreted languages like Python, and facilitates memory thinking when programming in Rust.
This edition includes a deeper exploration of machine learning and natural language processing, which I am excited to share. I have added new chapters on nonlinear models, multivariate techniques, and text analysis. You will find implementations of algorithms like Support Vector Machines, Neural Networks, and Principal Component Analysis, all using Rust's powerful crates such as smartcore, linfa, and tch. These examples prove that Rust is the ideal tool for complex data analysis tasks.
Languages covered in the book: C++, Clojure, Crystal, D, Dart, Elixir, Factor, Go, Hack, Hy, Io, Julia, Kotlin, Lua, Mercury, Nim, OCaml, Raku, Rust, Scala, and TypeScript. Start with the basics of the language and progress through functions and objects to creating programs that use parallel and concurrent features!
Explore the power of Rust with "Rust Projects: Write a Redis Clone". This hands-on guide takes you through building a Redis-inspired database from the ground up, introducing key programming concepts like TCP connections, the RESP protocol, and concurrency. Following the CodeCrafters challenge, this book gradually builds your skills, making complex topics accessible. Whether you're new to Rust or looking to deepen your understanding, this project-based journey offers practical, real-world insights into modern systems programming. The book contains 40% discount code for CodeCrafters.io!
The full transcript of Software Diagnostics Services training with more than 20 step-by-step exercises using WSL and Hyper-V environments, notes, and source code of specially created modeling applications in C, C++, and Rust. Learn live local and remote debugging techniques in the kernel, user process, and managed spaces using WinDbg, GDB, LLDB, rr, and KDB, KGDB debuggers. The unique and innovative course teaches unified debugging patterns applied to real problems from complex software environments. A necessary x64 and ARM64 review is also included.
From the fundamentals of TCP/IP to advanced packet manipulation and analysis techniques, we have delved deeply into the core concepts that power modern networks. The practical examples and hands-on approach were created to teach you real-world skills that you can immediately apply to your projects. Whether you're developing network applications, troubleshooting network issues, or automating network tasks, the knowledge in this book will help you succeed.
The book reviews memory-related topics from the perspective of software structure and behavior analysis and teaches Rust language aspects in parallel while demonstrating relevant code internals on Windows (x64) and Linux (x64 and ARM64) platforms.
One of the book's most notable features is the collection of over 100 solution-focused recipes. These recipes offer practical solutions to common programming challenges, allowing you to apply what you've learned to real-world situations. These recipes cover a wide range of topics required for a successful backend developer or full-stack programmer, from CI/CD pipeline setup to Rust application deployment.