- Published on
Investigation · Part 1 of 20 · From source to a running process
What Happens When You Run a Program: From execve to main
My C hello world makes 32 system calls before it prints its line, the static one 14, the Rust one 61. I followed every call back to the code that made it (the kernel, the loader, libc or the Rust runtime) and I timed one start of each.