Rust Programming for Practical Software Development
Format
Format
User Rating
User Rating
Release Date
Release Date
Date Added
Date Added
Language
Language
ebook
(0)
Rust Project Development: Building Command-Line Tools, APIs, and Real-World Applications
by Owen Calder
Part 4 of the Rust Programming for Practical Software Development series
You know the syntax. Now build the system.Many developers stop at "Hello, World!" or struggle to bridge the gap between writing simple scripts and architecting production-ready software. Rust Project Development addresses this challenge directly. This book is not just a syntax guide; it is a professional engineering manual designed to help you move from a basic understanding of Rust to building high-performance, fault-tolerant applications that run in the real world.Through a series of practical, hands-on chapters, you will learn the transition from writing code that compiles to writing code that ships. You will move beyond simple exercises and tackle complex architectural challenges, learning how to structure workspaces, manage asynchronous runtimes, and deploy secure, observable systems.What You Will BuildDataforge: A high-performance, multi-threaded command-line tool capable of processing massive datasets in parallel using Rayon and cross-compiled for distribution.Taskflow: A complete, production-grade REST API backend featuring authentication, background job queues, and real-time WebSocket updates.Key Topics CoveredProfessional Architecture: Organize workspaces, manage dependencies, and implement the "Hexagonal" and "Clean" architecture patterns in Rust.Async Runtime Fundamentals: Deep dive into Tokio, Futures, and non-blocking I/O to handle thousands of concurrent connections efficiently.Database Integration: Use sqlx for compile-time verified SQL queries, migration management, and connection pooling with PostgreSQL.Web Services: Build robust APIs with Axum, implement JWT authentication, and secure endpoints with Role-Based Access Control (RBAC).Reliability & Observability: Implement structured logging with Tracing, distributed tracing with OpenTelemetry, and rigorous error handling strategies using thiserror and anyhow.Production Readiness: Learn to implement Docker containerization, multi-stage builds, CI/CD pipelines, and zero-downtime deployment strategies.This book is written for developers who have worked through the basics of the borrow checker and are ready for the next step. If you want to stop learning the language and start engineering systems, this guide is for you.Stop writing scripts. Start building software.

ebook
(0)
Professional Rust Programming: Performance Optimization, Unsafe Code, and Systems-Level Design
Rust Programming for Practical Software Development, #3
by Owen Calder
Part of the Rust Programming for Practical Software Development series
Go beyond the borrow checker and master the art of systems-level engineering in Rust.You understand the fundamentals of the language. You are comfortable with lifetimes, traits, and the safety guarantees that make Rust unique. But to build production-grade systems software, real-time analytics engines, database internals, or embedded firmware, you must look past the abstractions and understand the machine underneath.Professional Rust Programming is the bridge between writing code that compiles and writing code that performs.This book is not an introduction to syntax. It is a deep dive into the mechanics of memory, the rigorous discipline of unsafe code, and the architectural patterns required to squeeze every ounce of throughput from modern hardware. Through empirical analysis and real-world case studies, you will learn to treat the compiler not as a safety net, but as a tool for precise code generation.Inside, you will master:Memory Layout Optimization: Control padding, alignment, and cache locality to eliminate bottlenecks before they happen.The Unsafe Foundation: Write robust abstractions using raw pointers and manual memory management without compromising system stability.Lock-Free Concurrency: Build high-performance primitives like atomic queues and skip lists, understanding memory ordering and hazard pointers.Async Internals: Deconstruct the async/await state machine, pin futures, and build a custom runtime from scratch using io_uring.Zero-Copy and FFI: Master the Foreign Function Interface to integrate with C libraries and the OS kernel without allocation overhead.Bare-Metal Programming: Navigate no_std environments for embedded development and operating system kernels.Real-World ApplicationThe book concludes with four comprehensive case studies, including the design of a high-performance edge proxy and a custom memory allocator, demonstrating how these advanced concepts integrate into cohesive, resilient architectures.Stop viewing high performance and memory safety as a binary choice. Learn to engineer zero-cost abstractions that are mathematically safe for users and mechanically optimal for hardware.Professional Rust Programming is your guide to the deep end of the stack.
Showing 1 to 2 of 2 results