Login
Discover
Waves
Communities
Raidstead
Write
Login
Signup
Topics
#
zig
Explore topics
#zig
Global
Trending
Hot
New
Payout
Muted
Promoted
#zig
New
#zig
Follow to get notified about new posts with this tag
Get #zig by email
Follow
scipio
StemSocial
4M
Learn Zig Series (#82) - DNS Resolver from Scratch
Learn Zig Series (#82) - DNS Resolver from Scratch What will I learn How DNS works at the protocol level -- query format, response parsing, record types; How to construct raw DNS query packets in Zig using
$ 0.892
21
1
scipio
StemSocial
4M
Learn Zig Series (#81) - UDP Sockets and Datagrams
Learn Zig Series (#81) - UDP Sockets and Datagrams What will I learn How UDP differs from TCP at the protocol level and why you'd choose one over the other; How to create, bind, and use UDP sockets with
$ 0.824
20
1
scipio
StemSocial
4M
Learn Zig Series (#80) - Mini Project: File Sync Tool - Part 4: Polish
Learn Zig Series (#80) - Mini Project: File Sync Tool - Part 4: Polish Part of a multi-episode project What will I learn How to implement conflict resolution strategies -- newest-wins automatic mode and
scipio
StemSocial
4M
Learn Zig Series (#79) - Mini Project: File Sync Tool - Part 3: Network Protocol
Learn Zig Series (#79) - Mini Project: File Sync Tool - Part 3: Network Protocol Part of a multi-episode project What will I learn How to design a binary wire protocol for file synchronization with handshake,
scipio
StemSocial
4M
Learn Zig Series (#78) - Mini Project: File Sync Tool - Part 2: Delta Transfer
Learn Zig Series (#78) - Mini Project: File Sync Tool - Part 2: Delta Transfer Part of a multi-episode project What will I learn How to implement the rsync delta transfer algorithm in Zig; How to use rolling
scipio
StemSocial
4M
Learn Zig Series (#77) - Mini Project: File Sync Tool - Part 1
Learn Zig Series (#77) - Mini Project: File Sync Tool - Part 1 Part of a multi-episode project What will I learn How to design a file synchronization tool architecture from the ground up; How to recursively
scipio
StemSocial
4M
Learn Zig Series (#76) - Mini Project: Process Monitor
Learn Zig Series (#76) - Mini Project: Process Monitor What will I learn How to enumerate all running processes by scanning /proc for numeric directories; How to read and parse /proc/[pid]/stat for CPU
scipio
StemSocial
4M
Learn Zig Series (#75) - Reading Kernel State from /proc and /sys
Learn Zig Series (#75) - Reading Kernel State from /proc and /sys What will I learn How the Linux /proc filesystem exposes process and kernel information as plain text files; How to read /proc/self/maps
scipio
StemSocial
4M
Learn Zig Series (#74) - ptrace: Process Tracing
Learn Zig Series (#74) - ptrace: Process Tracing What will I learn What ptrace is and how to attach to and control other processes from Zig; How to read and write a tracee's memory and CPU registers using
scipio
StemSocial
5M
Learn Zig Series (#73) - seccomp and Sandboxing
Learn Zig Series (#73) - seccomp and Sandboxing What will I learn What seccomp is and how it restricts which system calls a process can make at the kernel level; How to enable seccomp strict mode
scipio
StemSocial
5M
Learn Zig Series (#72) - System Call Wrappers
Learn Zig Series (#72) - System Call Wrappers What will I learn What system calls are and how they form the kernel API boundary between userspace and kernel; How to make raw syscalls using std.os.linux.syscall
scipio
StemSocial
5M
Learn Zig Series (#71) - Resource Limits and Capabilities
Learn Zig Series (#71) - Resource Limits and Capabilities What will I learn How getrlimit/setrlimit control per-process resource usage and why the kernel enforces soft vs hard limits; How to query and
scipio
StemSocial
5M
Learn Zig Series (#70) - Timers and Scheduling
Learn Zig Series (#70) - Timers and Scheduling What will I learn How monotonic vs wall clock time work in Zig and why the difference matters for reliable scheduling; How to use std.time.Timer and
scipio
StemSocial
5M
Learn Zig Series (#69) - Daemonization: Background Services
Learn Zig Series (#69) - Daemonization: Background Services What will I learn How the classic Unix daemonization process works: fork, setsid, fork again, close file descriptors; How to implement the
scipio
StemSocial
5M
Learn Zig Series (#68) - Unix Domain Sockets
Learn Zig Series (#68) - Unix Domain Sockets What will I learn How Unix domain sockets provide local-only IPC that is faster than TCP loopback; The difference between stream sockets (SOCK_STREAM) and datagram
scipio
StemSocial
5M
Learn Zig Series (#67) - Signal Handling Deep Dive
Learn Zig Series (#67) - Signal Handling Deep Dive What will I learn How Unix signals work as an asynchronous notification mechanism for processes; How to register signal handlers using POSIX sigaction
scipio
StemSocial
5M
Learn Zig Series (#66) - Shared Memory and Semaphores
Learn Zig Series (#66) - Shared Memory and Semaphores What will I learn How POSIX shared memory works with shm_open and mmap for inter-process data sharing; How to design shared data structures with careful
scipio
StemSocial
5M
Learn Zig Series (#65) - Pipes and Inter-Process Communication
Learn Zig Series (#65) - Pipes and Inter-Process Communication What will I learn How anonymous pipes work for connecting parent and child process I/O; How named pipes (FIFOs) let unrelated processes
scipio
StemSocial
5M
Learn Zig Series (#64) - Process Management: Fork, Exec, Wait
Learn Zig Series (#64) - Process Management: Fork, Exec, Wait What will I learn How the Unix process model works: fork creates a copy, exec replaces it, wait collects results; How to use std.process.Child
scipio
StemSocial
5M
Learn Zig Series (#63) - File Watching: Detecting Changes
Learn Zig Series (#63) - File Watching: Detecting Changes What will I learn Why polling for file changes wastes CPU and how event-based watching solves it; How Linux's inotify API works: watches, events,
← Latest
Older →
Discover communities
Explore communities
Create your community