Learn Zig over Rust and C++ (Paperback)
Lingua: inglese
Editore: Gitforgits, 2026
- Brossura
- Nuovo

Da: AussieBookSeller, Truganina, VIC, AustraliaAussieBookSeller
Venditore AbeBooks dal 22 giugno 2007
Condizione: Nuovo
EUR 79,51
Quantità: 1 disponibile
Aggiungi al carrelloDescrizione dell’articolo da parte del venditore
Paperback. There's a question that's always been asked by systems programmers working in C++ and those working in Rust. Is there a way to control systems that doesn't mean choosing between power and predictability? Zig represents that path.The idea is pretty clear as really there's no such thing as hidden behaviour. Everything's 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 won't act without instruction. This book teaches Zig through a project-based approach centred on a single growing systems toolkit.This book gives hands-on experience with Zig's 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, it's got a simpler ownership model, no borrow checker friction, and a C interoperability path that doesn't need a binding generator. You'll see that both communities have familiar systems programming patterns expressed in Zig that carries none of their respective historical weight.Key FeaturesWrite memory-safe systems code without garbage collector or borrow checker overhead.Control heap allocation using Zig's 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 Zig's 3 configurable build modes.Table of ContentGetting Started with ZigExploring Zig CodesAllocation, Safety, and Data StructuresGenerics, Reflection, and ToolchainFiles, Processes, and NetworksThreads, Shared State, and CoordinationOptimisation and DeploymentAdvanced Patterns This item is printed on demand. Shipping may be from our Sydney, NSW warehouse or from our UK or US warehouse, depending on stock availability.…
Codice articolo 9789349174115
- Titolo
- Learn Zig over Rust and C++ (Paperback)
- Autore
- Annie Cal
- Editore
- Gitforgits
- Anno di pubblicazione
- 2026
- Condizione
- new
- Rilegatura
- Paperback
- Lingua
- inglese
- ISBN 10
- 9349174111
- ISBN 13
- 9789349174115
There's a question that's always been asked by systems programmers working in C++ and those working in Rust. Is there a way to control systems that doesn't mean choosing between power and predictability? Zig represents that path.
The idea is pretty clear as really there's no such thing as hidden behaviour. Everything's 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 won't 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 Zig's 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, it's got a simpler ownership model, no borrow checker friction, and a C interoperability path that doesn't need a binding generator. You'll 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 Zig's 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 Zig's 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
"Riassunto" può appartenere a un’altra edizione di questo titolo.
AussieBookSeller
Truganina, VIC, Australia
Venditore AbeBooks dal 22 giugno 2007
Tariffe di spedizione da Australia a U.S.A.
| Articolo | Da 25 a 45 giorni lavorativi | Da 8 a 14 giorni lavorativi |
|---|---|---|
| Primo articolo | EUR 33,04 | EUR 39,28 |
Metodi di pagamento
Informazioni sull’azienda del venditore
The Nile Group Pty Ltd
42 Apex Drive
Truganina, VIC Australia 3029
Condizioni di vendita
We guarantee the condition of every book as it's described on the Abebooks web sites. If you're dissatisfied with your purchase (Incorrect Book/Not as Described/Damaged) or if the order hasn't arrived, you're eligible for a refund within 30 days of the estimated delivery date. If you've changed your mind about a book that you've ordered, please use the Ask bookseller a question link to contact us and we'll respond within 2 business days.
Diritto di recesso
Se sei un consumatore puoi recedere dal contratto in conformità con quanto segue. Per Consumatore si intende qualsiasi persona fisica che agisce per scopi estranei alla propria attività commerciale, imprenditoriale, artigianale o professionale.
Informazioni sul diritto di recesso
Diritto legale di recesso
Hai il diritto di recedere dal presente contratto entro 14 giorni senza fornire alcuna motivazione.
Il periodo di recesso scade dopo 14 giorni dal giorno in cui tu o una terza parte, diversa dal vettore e da te indicata, acquisisce il possesso fisico dell'ultimo bene o dell'ultimo lotto o pezzo.
Per esercitare il diritto di recesso, compila e invia elettronicamente una dichiarazione esplicita sul nostro sito Web, alla voce “I miei acquisti” nella sezione “Mio account”. Ti comunicheremo senza indugio una conferma di ricezione di tale recesso su un supporto durevole (ad es. via e-mail).
Per rispettare il termine di recesso, è sufficiente inviare la comunicazione relativa all'esercizio del diritto di recesso prima della scadenza del periodo di recesso stesso.
Effetti del recesso
In caso di recesso dal presente contratto, ti rimborseremo tutti i pagamenti ricevuti, compresi i costi di spedizione (ad eccezione dei costi supplementari derivanti dalla tua eventuale scelta di un tipo di spedizione diverso dal tipo meno costoso di consegna standard da noi offerto).
Potremo effettuare una detrazione dal rimborso per la perdita di valore dei beni forniti, qualora tale perdita sia il risultato di una manipolazione non necessaria da parte tua.
Eseguiremo il rimborso senza indebito ritardo e non oltre 14 giorni dal giorno in cui saremo informati della tua decisione di recedere dal presente contratto.
Il rimborso sarà effettuato utilizzando lo stesso mezzo di pagamento da te usato per la transazione iniziale, salvo che tu non abbia espressamente concordato altrimenti; in ogni caso, non dovrai sostenere alcun costo quale conseguenza di tale rimborso.
Possiamo trattenere il rimborso finché non avremo ricevuto i beni oppure finché non avrai fornito la prova di averli rispediti, a seconda di quale condizione si verifichi per prima.
Dovrai rispedire i beni o consegnarli a AussieBookSeller, Truganina, Victoria, Australia, senza indebito ritardo e, in ogni caso, entro 14 giorni dal giorno in cui ci hai comunicato la tua volontà di recedere dal presente contratto. Il termine è rispettato se rispedisci i beni prima della scadenza del periodo di 14 giorni. I costi diretti della restituzione dei beni saranno a tuo carico. Sei responsabile solo della diminuzione del valore dei beni risultante da una manipolazione diversa da quella necessaria per stabilire la natura, le caratteristiche e il funzionamento dei beni stessi.
Eccezioni al diritto di recesso
Il diritto di recesso non si applica a:
- La fornitura di giornali, periodici o riviste ad eccezione dei contratti di abbonamento; e
- La fornitura di contenuto digitale non fornito su un supporto materiale (ad es. su un CD o DVD), se al momento dell'invio dell'ordine hai accettato l'inizio dell'esecuzione e hai riconosciuto che non avresti potuto recedere una volta iniziata l'esecuzione.
Condizioni di spedizione
Please note that titles are dispatched from our UK and NZ warehouse. Delivery times specified in shipping terms. Orders ship within 2 business days. Delivery to your door then takes 8-15 days.