Comment on Zig’s Io.Threaded is neatparentComments−solatic21dstd.debug.print is, as its name suggests, for debug output, not for program output.In Zig, you create a buffered writer for the stdout file handle, write hello world to the buffer, and then flush it. It exposes what's actually happening underneath.
Comments
std.debug.print is, as its name suggests, for debug output, not for program output.
In Zig, you create a buffered writer for the stdout file handle, write hello world to the buffer, and then flush it. It exposes what's actually happening underneath.