Thoughts

mental health break ,./'"**^^$_---
Okay I have done the work to answer the question that we've all been asking: does Zig still compile a 2-syscall hello-world? No. 6.
For replicatability: hello-world.zig ```zig const std = @import("std"); pub fn main() !void { const stdout = std.io.getStdOut(); try stdout.writeAll("hello world\n"); } ``` ```sh zig build-exe -O ReleaseSmall -fstrip hello-world.zig strace ./hello-world ``` 6 syscalls not including the `execve`. On Linux lima-archlinux 6.9.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 12 Jul 2024 00:06:53 +0000 x86_64 GNU/Linux and Zig 0.13.0.
Link 10:09 p.m. Jul 17, 2024 UTC-4