These helped me learn the new Zig std.Io interface
·
152 words
·
1 minute read
I wasn’t as affected as others by the new Zig std.Io interface and the Writergate scandal when Zig 0.15.0 was released. But I did want to learn the interface because I was writing a TCP client/server thing. I have yet to figure out what I want it to be. On the way, I collected some links and resources that helped me better understand how to use std.Io. I offer the list of resources here to anyone else that make find themselves stuck. Perhaps one of them can help unlock something for you.
- Video (ComputerBread) 16:56 - Great overall presentation on the interface
- Ziggit Post - Shows how to stream a reader to another writer
- Video (sphaerophoria) ~40min - Looking at how std.fs.File works
- Video (Andrew Kelley - Don’t forget to flush) 37:09 - How the new interface relates to low-level performance
- Blog Post (Karl Seguin) - Explores using the interface for networking