A Simple Binary
dev.to·13h·
Discuss: DEV
Flag this post

Day 1

I’m starting a project to get back closer to the machine where I love to be. I’m not going to start with anything ambitious, but by coming back to something simple: compiling a tiny C program and inspecting the binary that drops out.

I’ve spent decades building systems where performance, architecture, concurrency, and distributed correctness mattered — but it’s amazing how grounding it can be to step back and revisit the basics. Sometimes the smallest artifacts remind us of the real machinery beneath all the abstractions.

So today’s exercise was straightforward:

#include <stdio.h>

int main(int argc, char ** argv){
(void)argc;
(void)argv;
printf("Hello world!\n");
return 0;
}

Compile it, and now we have a binary. Nothing special. But it’s a good excuse to reme…

Similar Posts

Loading similar posts...