LEARN ZIG OVER RUST AND C++
Sinopsis
Theres a question thats always been asked by systems programmers working in C++ and those working in Rust. Is there a way to control systems that doesnt mean choosing between power and predictability? Zig represents that path.
The idea is pretty clear as really theres no such thing as hidden behaviour. Everythings totally clear about each allocation. Every error is given a name and can be found in the type system. So, every piece of control flow is going to appear at the call site. The programmer always knows what the program does, because the language wont act without instruction. This book teaches Zig through a project-based approach centred on a single growing systems toolkit.
This book gives you hands-on experience with Zigs allocator model, generic programming through comptime, typed error handling, filesystem and process management, concurrent threads and atomic state, and HTTP server construction, with each concept built on the one before it.For C++ developers, Zig gets rid of undefined behaviour and preprocessor complexity without sacrificing machine-level access. For Rust developers, its got a simpler ownership model, no borrow checker friction, and a C interoperability path that doesnt need a binding generator. Youll see that both communities have familiar systems programming patterns expressed in a language that carries none of their respective historical weight.
Key Features
Write memory-safe systems code without garbage collector or borrow checker overhead.
Control heap allocation using Zigs transparent allocator interface.
Build compile-time generic data structures with zero runtime overhead.
Handle errors through typed error sets.
Interoperate with C libraries directly without binding generators or wrapper layers.
Cross-compile production binaries with a single build command.
Coordinate concurrent threads safely using Mutex, atomic values, and condition variables.
Model data with exhaustive enums and tagged unions.
Inspect and manipulate raw memory through typed slices, packed structs, and pointers.
Deploy release binaries using Zigs 3 configurable build modes.
Table of Content
Getting Started with Zig
Exploring Zig Codes
Allocation, Safety, and Data Structures
Generics, Reflection, and Toolchain
Files, Processes, and Networks
Threads, Shared State, and Coordination
Optimisation and Deployment
Advanced Patterns
Léelo en cualquier dispositivo
* ¿Cómo conseguir tu eBook gratis?
Aproximadamente una semana después de la compra, recibirás un correo electrónico con un código promocional. Para canjearlo, solo tendrás que añadir el eBook La casa de las amapolas al carrito en casadellibro.com e introducir el código recibido en el momento del pago para que el eBook te salga gratis.
El código tiene una validez de dos semanas desde su recepción. Pasado ese plazo, caducará. Solo puede utilizarse una vez.
La promoción es válida para pedidos realizados en casadellibro.com
Si compras el dispositivo en nuestras librerías, podrás conseguir tu eBook gratis solo si eres Socio.
Ficha Técnica
Editorial: Gitforgits
ISBN: 9798235671096
Idioma: Inglés
Fecha de lanzamiento: 10/05/2026
Especificaciones del producto
Reseñas sobre LEARN ZIG OVER RUST AND C++ (EBOOK)
Comparte tu experiencia con la comunidad lectora.
0 Reseñas
Sólo por opinar entras en el sorteo mensual de tres tarjetas regalo valoradas en
20€