Learning Zig
Lingua: inglese
Editore: Packt Publishing Limited, GB, 2025
- Brossura
- Nuovo

Da: Rarewaves.com USA, London, London, Regno UnitoRarewaves.com USA
Venditore AbeBooks dal 11 giugno 2025
Condizione: Nuovo
EUR 58,88
Quantità: Più di 20 disponibili
Aggiungi al carrelloDescrizione dell’articolo da parte del venditore
Dive into Zig, the modern language that blends safety with performance. Learn to write efficient, reliable code through practical examples and wit, while guiding you from a curious programmer to a confident Zig practitioner (sanity mostly intact).
Codice articolo LU-9781835085127
- Titolo
- Learning Zig
- Autore
- Alex Rios
- Editore
- Packt Publishing Limited, GB
- Anno di pubblicazione
- 2025
- Condizione
- New
- Rilegatura
- Paperback
- Lingua
- inglese
- ISBN 10
- 1835085121
- ISBN 13
- 9781835085127
- Peso dell'articolo
- 853 grammi
- Dimensioni
- 19.05 x 2.9 x 23.5 cm
Start your journey with Zig's no-surprises approach to systems programming. From memory management to C interop, learn the why behind every feature and build real applications.
Key Features
- Get the lowdown on the design philosophy of the Zig programming language and why explicit is better than implicit (your debugging sessions will thank you).
- Roll up your sleeves and build a complete application that talks to the OS, integrates with C libraries, and handles real-world problems.
- Learn memory management, error handling, and cross-compilation without the headaches you've come to expect from systems programming.
Book Description
Here's the thing: system programming has always forced you to pick your poison. Safety with endless compiler fights, or simplicity with memory bugs that haunt your dreams. Zig programming language takes a different path. No hidden control flow. Explicit resource management. I call it “WYWIWIG” (what you write is what you get). No surprises waiting to bite you later.
I've spent over 17+ years building high-throughput systems in fintech, telecom, and gaming, the kind of systems where bugs cost real money, and downtime isn't an option. This book is the resource I wished existed when I started exploring Zig language. It doesn't just throw syntax at you. Each chapter tackles the why behind Zig's design decisions, so you're not just copying code but actually understanding what makes this language tick.
Trust me, once you experience what it's like to work with a language that doesn't hide things from you, you'll wonder why every language doesn't work this way.
What you will learn
- Set up a Zig development environment across different operating systems without the usual toolchain headaches.
- Get good at memory management with explicit allocators, gaining complete control without sacrificing your sanity.
- Implement error handling using Zig's approach, where failures are visible and impossible to accidentally ignore.
- Write and run tests that catch bugs before they become your users' problem.
- Leverage Zig's standard library effectively for everyday programming tasks.
- Build applications that integrate with C code seamlessly when you need to borrow someone else's tools.
- Cross-compile and package Zig applications for multiple platforms without the ceremony.
Who this book is for
This book is for developers who want to get serious about being initiated into systems programming without the usual pain.
If you're a C or C++ developer who's seen enough segfaults for one lifetime, you'll find a breath of fresh air here. Zig gives you the low-level control you need without the footguns.
If you're coming from Go, JavaScript, or Python and you're curious about what happens closer to the metal, I've got you covered. We'll build up from the fundamentals, and I won't assume you already know how pointers work or what a stack frame is.
If you're building embedded systems or targeting WebAssembly, Zig's portability and small runtime make it a natural fit, and this book will show you how to take advantage of that.
And if you looked at Rust's learning curve and thought "there has to be another way," well, there is. Let's explore it together.
Table of Contents
- Safety First
- Setting Up Your Playground
- Your First Zig Program
- Control Flow, Loops, and Other Forms of Digital Domination
- Functions for the Efficient Programmer
- Testing Your Zig Code
- Organizing Data
- Error Handling
- Memory Management
- The Standard Library
- Packaging and Distributing Your Zig Masterpieces
- Sophisticated Topics
- Real-World Projects Built with Zig
"Riassunto" può appartenere a un’altra edizione di questo titolo.
Informazioni sull’autore
Alex Rios is an established Brazilian software engineer with a 15-year track record of success in large-scale solution development. He specializes in Go and creates high-throughput systems that address diverse needs across fintech, telecom, and gaming industries. As a Staff Engineer at Stone Co., Alex applies his expertise using unconventional system designs, ensuring top-notch delivery. Also, he uses his expertise to evaluate books and publications as a technical reviewer. He is an enthusiastic community member, actively participating in its growth and development as Curitiba's Go meetup organizer. His dedication is evident in his regular presence as a speaker at major national tech events like GopherCon Brazil.
"Descrizione articolo" può appartenere a un’altra edizione di questo titolo.
Rarewaves.com USA
London, London, Regno Unito
Venditore AbeBooks dal 11 giugno 2025
Tariffe di spedizione da Regno Unito a U.S.A.
| Articolo | Da 10 a 15 giorni lavorativi | Da 10 a 15 giorni lavorativi |
|---|---|---|
| Primo articolo | EUR 0,00 | EUR 0,00 |
Metodi di pagamento
Informazioni sull’azienda del venditore
RAREWAVES.COM LIMITED
Elsley Court, 20-22 Great Titchfield Street
London, Regno Unito W1W 8BE
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 Rarewaves.com USA, Unit 144 The Lightbox, 111 Power Road, W4 5PY, London, London, United Kingdom, 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 we do not offer Priority shipping to any country.
We currently do not ship to the below countries:
Russia
Belarus
Ukraine
Please do not attempt to place orders with any of these countries as a ship to address - they will be cancelled.