Get the latest tech news
Zig's new I/O: function coloring is inevitable?
Functions always have color and Zig's new I/O won't help it
This is the example Zig code from that post, that writes data to two files asynchronously: To see why, let’s compare function signatures of red (blocking) and blue (non-blocking) versions of saveData with a few modifications that make my argument a bit more clear: Understanding this moves the problem from computer science to the programming language design - how to make it more convenient?
Or read this on Hacker News