The designers of the
Zig programming language have been working to find a
suitable design for asynchronous code for some time.
Zig is a carefully minimalist language, and its
initial design for
asynchronous I/O did not fit well with its other
features. Now, the project has
announced (in a Zig SHOWTIME video) a new approach to asynchronous I/O that promises to solve the
function coloring problem, and allows writing code that will execute
correctly using either synchronous or asynchronous I/O.
https://lwn.net/Articles/1046084/
--- SBBSecho 3.32-Linux
* Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (86:200/23)