0
نام کتاب
Learning Zig

A reimagined introduction to low-level programming with Zig

Alex Rios

Paperback500 Pages
PublisherPackt
Edition1
LanguageEnglish
Year2026
ISBN9781835085127
518
A6927
انتخاب نوع چاپ:
جلد سخت
1,260,000ت
0
جلد نرم
1,130,000ت
0
طلق پاپکو و فنر
1,150,000ت
0
مجموع:
0تومان
کیفیت متن:اورجینال انتشارات
قطع:B5
رنگ صفحات:دارای متن و کادر رنگی
پشتیبانی در روزهای تعطیل!
ارسال به سراسر کشور

#Zig

توضیحات

شروع برنامه‌نویسی سیستم‌ها با Zig


🧠 مسیرت رو با رویکرد بی‌غافلگیری Zig در برنامه‌نویسی سیستم‌ها شروع کن. از مدیریت حافظه گرفته تا تعامل با C، یاد بگیر پشت هر قابلیت چه منطقی هست و اپلیکیشن‌های واقعی بساز.


ویژگی‌های کلیدی

🧭 با فلسفه طراحی زبان برنامه‌نویسی Zig آشنا میشی و میفهمی چرا «صریح بودن بهتر از ضمنی بودنه»؛ جلسه‌های دیباگت بعداً ازت تشکر میکنن.

🛠️ آستین‌ها رو بالا میزنی و یک اپلیکیشن کامل میسازی که با سیستم‌عامل حرف میزنه، با کتابخونه‌های C یکپارچه میشه و مسئله‌های واقعی رو مدیریت میکنه.

🧠 مدیریت حافظه، Error Handling و Cross-Compilation رو یاد میگیری؛ بدون سردردهایی که معمولاً از برنامه‌نویسی سیستم‌ها انتظار داری.


📘 توضیح کتاب

⚙️ ماجرا اینه: برنامه‌نویسی سیستم‌ها همیشه مجبورت کرده بین بد و بدتر یکی رو انتخاب کنی. یا امنیت همراه با دعواهای بی‌پایان با کامپایلر، یا سادگی همراه با باگ‌های حافظه‌ای که کابوست میشن. زبان برنامه‌نویسی Zig مسیر متفاوتی رو انتخاب میکنه. هیچ Control Flow پنهانی وجود نداره. مدیریت منابع صریحه. من بهش میگم WYWIWIG؛ یعنی What You Write Is What You Get، هر چیزی که مینویسی همون چیزیه که میگیری. خبری از سورپرایزهایی نیست که بعداً از پشت بهت حمله کنن.


👨‍💻 من بیش از ۱۷ سال سیستم‌های High-Throughput در Fintech، Telecom و Gaming ساختم؛ همون نوع سیستم‌هایی که باگ‌هاشون واقعاً هزینه مالی دارن و Downtime براشون گزینه قابل‌قبولی نیست. این کتاب همون منبعیه که آرزو داشتم وقتی شروع به کشف زبان Zig کردم وجود داشت. فقط Syntax پرت نمیکنه سمتت. هر فصل سراغ چرایی تصمیم‌های طراحی Zig میره، تا فقط کد کپی نکنی، بلکه واقعاً بفهمی این زبان چطور کار میکنه و چرا این‌قدر متفاوت حس میشه.


🚀 باور کن، وقتی تجربه کنی کار کردن با زبانی که چیزی رو ازت پنهان نمیکنه چه حسی داره، از خودت میپرسی چرا همه زبان‌ها اینطوری کار نمیکنن.


🎯 چیزهایی که یاد میگیری

🧰 محیط توسعه Zig رو روی سیستم‌عامل‌های مختلف راه‌اندازی میکنی؛ بدون دردسرهای همیشگی Toolchain.

🧠 با Allocatorهای صریح در مدیریت حافظه حرفه‌ای میشی و کنترل کامل به دست میاری، بدون اینکه آرامشت رو قربانی کنی.

⚠️ با رویکرد Zig، Error Handling رو پیاده‌سازی میکنی؛ جایی که خطاها قابل‌دیدنن و نمیشه اتفاقی نادیده‌شون گرفت.

🧪 تست‌هایی مینویسی و اجرا میکنی که باگ‌ها رو قبل از اینکه تبدیل به مشکل کاربرهات بشن پیدا میکنن.

📚 از Standard Library زبان Zig برای تسک‌های روزمره برنامه‌نویسی به‌شکل مؤثر استفاده میکنی.

🔌 اپلیکیشن‌هایی میسازی که وقتی لازم داری از ابزارهای دیگران استفاده کنی، بدون دردسر با کد C یکپارچه میشن.

📦 اپلیکیشن‌های Zig رو برای چند پلتفرم Cross-Compile و Package میکنی؛ بدون تشریفات اضافه.


👤 این کتاب برای چه کسانیه؟

🧑‍💻 این کتاب برای دولوپرهاییه که میخوان جدی وارد برنامه‌نویسی سیستم‌ها بشن، اما بدون دردسرهای معمولش.

🧩 اگر دولوپر C یا C++ هستی و برای یک عمر به اندازه کافی Segfault دیده‌ای، اینجا یک نفس تازه میکشی. Zig کنترل سطح پایینی رو که لازم داری بهت میده، بدون اون تله‌های خطرناک همیشگی.

🐍 اگر از Go، JavaScript یا Python میای و کنجکاوی بدونی نزدیک‌تر به سخت‌افزار چه اتفاقی میفته، این کتاب هوات رو داره. از مبانی شروع میکنیم و فرض نمیکنم از قبل بدونی Pointerها چطور کار میکنن یا Stack Frame چیه.

🔧 اگر سیستم‌های Embedded میسازی یا WebAssembly رو هدف میگیری، قابلیت حمل بالا و Runtime کوچک Zig باعث میشه انتخاب طبیعی‌ای باشه؛ و این کتاب نشون میده چطور از این مزیت استفاده کنی.

🦀 و اگر به منحنی یادگیری Rust نگاه کردی و با خودت گفتی «باید یک راه دیگه هم وجود داشته باشه»، خب، وجود داره. بیا با هم کشفش کنیم.


📖 فهرست مطالب

فصل ۱. اول ایمنی

فصل ۲. راه‌اندازی زمین بازی تو

فصل ۳. اولین برنامه Zig تو

فصل ۴. Control Flow، حلقه‌ها و شکل‌های دیگر سلطه دیجیتال

فصل ۵. Functionها برای برنامه‌نویس کارآمد

فصل ۶. تست کردن کد Zig تو

فصل ۷. سازمان‌دهی داده

فصل ۸. Error Handling

فصل ۹. مدیریت حافظه

فصل ۱۰. Standard Library

فصل ۱۱. Package کردن و توزیع شاهکارهای Zig تو

فصل ۱۲. موضوع‌های پیشرفته

فصل ۱۳. پروژه‌های واقعی ساخته‌شده با Zig


👤 درباره نویسنده

👨‍💻 الکس ریوس یک مهندس نرم‌افزار شناخته‌شده برزیلیه که ۱۵ سال سابقه موفق در توسعه راهکارهای بزرگ‌مقیاس داره. او روی Go تخصص داره و سیستم‌های High-Throughputی میسازه که نیازهای متنوعی رو در صنعت‌های Fintech، Telecom و Gaming پوشش میدن. الکس به‌عنوان Staff Engineer در Stone Co.، تخصصش رو با طراحی‌های سیستمی غیرمتعارف به کار میگیره تا خروجی سطح بالا تحویل بده.

🧪 او همین‌طور از تخصصش برای ارزیابی کتاب‌ها و نشرها به‌عنوان Technical Reviewer استفاده میکنه. الکس عضو پرانرژی کامیونیتیه و به‌عنوان برگزارکننده Meetup زبان Go در Curitiba فعالانه در رشد و توسعه اون مشارکت داره. تعهدش رو میشه از حضور منظمش به‌عنوان سخنران در رویدادهای بزرگ ملی تکنولوژی مثل GopherCon Brazil دید.


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

  1. Safety First
  2. Setting Up Your Playground
  3. Your First Zig Program
  4. Control Flow, Loops, and Other Forms of Digital Domination
  5. Functions for the Efficient Programmer
  6. Testing Your Zig Code
  7. Organizing Data
  8. Error Handling
  9. Memory Management
  10. The Standard Library
  11. Packaging and Distributing Your Zig Masterpieces
  12. Sophisticated Topics
  13. Real-World Projects Built with Zig


About the Author

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.

دیدگاه خود را بنویسید
نظرات کاربران (0 دیدگاه)
نظری وجود ندارد.
کتاب های مشابه
++C
1,670
LLVM Techniques, Tips, and Best Practices Clang and Middle-End Librari...
900,000 تومان
C
1,006
Programming Arduino Projects with the PIC Microcontroller
1,926,000 تومان
C
1,457
Modern C
1,447,000 تومان
C
434
Sudoku Programming with C
984,000 تومان
Network
1,391
Hands-On Network Programming with C
1,093,000 تومان
C
1,071
C Interfaces and Implementations
1,422,000 تومان
C
1,282
C Programming Absolute Beginner's Guide
864,000 تومان
C
884
Pointers on C
1,557,000 تومان
C
1,104
Writing a C Compiler
1,886,000 تومان
Python
1,144
C and Python Applications
664,000 تومان
قیمت
منصفانه
ارسال به
سراسر کشور
تضمین
کیفیت
پشتیبانی در
روزهای تعطیل
خرید امن
و آسان
آرشیو بزرگ
کتاب‌های تخصصی
هـر روز با بهتــرین و جــدیــدتـرین
کتاب های روز دنیا با ما همراه باشید
آدرس
پشتیبانی
مدیریت
ساعات پاسخگویی
درباره اسکای بوک
دسترسی های سریع
  • راهنمای خرید
  • راهنمای ارسال
  • سوالات متداول
  • قوانین و مقررات
  • وبلاگ
  • درباره ما
چاپ دیجیتال اسکای بوک. 2024-2022 ©