Learning Zig Programming
Bernand Bernie
Sold by Rarewaves.com USA, London, LONDO, United Kingdom
AbeBooks Seller since 11 June 2025
New - Soft cover
Condition: New
Ships from United Kingdom to U.S.A.
Quantity: Over 20 available
Add to basketSold by Rarewaves.com USA, London, LONDO, United Kingdom
AbeBooks Seller since 11 June 2025
Condition: New
Quantity: Over 20 available
Add to basketUnderstand Zig's powerful integration capabilities by building real-world applications that span native systems, web, and embedded hardware, and learn to leverage C/C++ interoperability, WebAssembly compilation, and bare-metal programming for versatile, high-performance software.
Key Features:
-Using Zig's explicit error handling and compile-time features for robust, predictable code across platforms.
-Integrate seamlessly with existing C/C++ codebases while exploring WebAssembly for browser apps and embedded targets for microcontrollers.
-Develop cross-platform projects with Zig's flexible build system, from console tools to firmware and web modules.
Description:
The world of systems programming often demands a balance between control and convenience, but Zig revolutionizes this with its straightforward syntax, no-runtime-overhead design, and built-in tools for portability. If you've encountered challenges with C's undefined behaviors, Rust's borrow checker, or Go's garbage collection, Zig provides a fresh approach that emphasizes clarity and developer intent.
You'll start with Zig's foundational elements, including installation, syntax, and control flow, before advancing to advanced topics like memory management, concurrency, and compile-time generics. The book emphasizes hands-on learning through projects that integrate Zig with C/C++, compile to WebAssembly for browser execution, and target embedded systems for hardware interaction. Along the way, you'll master Zig's unique features, such as explicit allocations, error unions, and cross-compilation, all while building applications that demonstrate its versatility.
By the end of this book, you'll be equipped to create a complete cross-platform application, contribute to Zig's ecosystem, and tackle complex problems in systems, web, and embedded programming with confidence.
What you will learn:
-Set up a Zig development environment and write your first programs with proper structure and workflow.
-Master Zig's syntax, types, control flow, and functions for building reliable applications Implement error handling, data structures, and memory allocation techniques tailored to resource-constrained environments.
-Integrate Zig with C/C++ libraries and export Zig functions for seamless interoperability.
-Compile Zig code to WebAssembly for browser and server-side applications.
-Develop bare-metal firmware for microcontrollers like ARM, RISC-V, and AVR.
-Utilize Zig's build system for dependency management, testing, and cross-platform deployment.
Who this book is for:
This book is for developers eager to explore Zig's potential in systems programming, web development, and embedded systems. The target audience includes C/C++ programmers seeking a simpler alternative with better safety, web developers interested in WebAssembly for high-performance apps, embedded engineers building firmware for microcontrollers, Rust or Go users looking for explicit control without complexity, and beginners in low-level programming aiming for a structured guide to Zig's features.
"About this title" may belong to another edition of this title.
If you are a consumer you can withdraw from the contract in accordance with the following. Consumer means any natural person who is acting for purposes which are outside his trade, business, craft or profession.
Information regarding the right of withdrawal
Statutory right to withdraw
You have the right to withdraw from this contract within 14 days without giving any reason.
The withdrawal period will expire after 14 days from the day on which you acquire, or a third party other than the carrier and indicated by you acquires, physical possession of the last good or the last lot or piece.
To exercise the right of withdrawal, electronically fill in and submit a clear statement on our website, under "My Purchases" in "My Account". We will communicate to you an acknowledgement of receipt of such a withdrawal on a durable medium (e.g. by e-mail) without delay.
To meet the withdrawal deadline, it is sufficient for you to send your communication concerning your exercise of the right of withdrawal before the withdrawal period has expired.
Effects of withdrawal
If you withdraw from this contract, we will reimburse to you all payments received from you, including the costs of delivery (except for the supplementary costs arising if you chose a type of delivery other than the least expensive type of standard delivery offered by us).
We may make a deduction from the reimbursement for loss in value of any goods supplied, if the loss is the result of unnecessary handling by you.
We will make the reimbursement without undue delay, and not later than 14 days after the day on which we are informed about your decision to withdraw from this contract.
We will make the reimbursement using the same means of payment as you used for the initial transaction, unless you have expressly agreed otherwise; in any event, you will not incur any fees as a result of such reimbursement.
We may withhold reimbursement until we have received the goods back, or you have supplied evidence of having sent back the goods, whichever is the earliest.
You shall send back the goods or hand them over to Rarewaves.com USA, Unit 144 The Lightbox, 111 Power Road, W4 5PY, London, London, United Kingdom, without undue delay and in any event not later than 14 days from the day on which you communicate your withdrawal from this contract to us. The deadline is met if you send back the goods before the period of 14 days has expired. You will have to bear the direct cost of returning the goods. You are only liable for any diminished value of the goods resulting from the handling other than what is necessary to establish the nature, characteristics and functioning of the goods.
Exceptions to the right of withdrawal
The right of withdrawal does not apply to:
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.
| Order quantity | 9 to 14 business days | 9 to 14 business days |
|---|---|---|
| First item | £ 0.00 | £ 0.00 |
Delivery times are set by sellers and vary by carrier and location. Orders passing through Customs may face delays and buyers are responsible for any associated duties or fees. Sellers may contact you regarding additional charges to cover any increased costs to ship your items.