Category Zed

Debug vs Release: What a ‘Hello, World’ Taught Me About Zig, Roc, and the Cost of Debug Symbols

*What started as a simple "hello world" exercise turned into a deep dive into how Zig and Roc actually build binaries — from optimization modes and DWARF debug symbols eating 94% of a binary's size, to a surprising 14x size gap between a tiny Zig executable and its Roc equivalent. Here's everything I learned, one command at a time.*

Zed + Roc + Zig — The Full Stack

What each piece is Tool Type Role in the stack Zed Code editor Where I write all the code Roc High-level language The language I use to build applications Zig Systems language The language the Roc compiler is written in…