Post #2085721
2023-02-10 09:12 UTC
@sunfish Looks great and makes sense, thanks for sharing. What is the plan to implement socket support in Preview2 without async and stream which will be only available in Preview3? Blocking API initially?
Replies (1)
-
@sunfish@hachyderm.io 2023-02-10 14:40
@sdeleuze The plan for Preview2 is, sockets can be marked nonblocking, and `poll-oneoff` can poll them. That's sufficient to do async I/O. To address scalability and composition, we'll do Preview3.