3 ms·
I’m guessing that the reasoning behind this is that it would make things simpler if there were synchronous/blocking interfaces into libraries? I’ve regretted t
by bluejekyll 3y ago
I’m guessing that the reasoning behind this is that it would make things simpler if there were synchronous/blocking interfaces into libraries?
I’ve regretted that every time I’ve done it in my career, especially in network programming. All the different error conditions and potential blocking conditions that tcp connections can end up in are just easier to deal with on async interfaces.
I guess a different question I would ask is, what can we do to make async programming easy enough in Rust such that people don’t feel a need to reach for synchronous/blocking interfaces?