Re:Async Rust Is A Bad Language
by kprotty on Saturday September 09, 2023 @01:22PM
(#37447757)
getaddrinfo() is a synchronous function that can do network requests to resolve DNS. The network property isn't reflected in its function signature becoming async. You can have an async_getaddrinfo() which does, but the former is just a practical example of network calls in particular being unrelated to function coloring.
[ Parent
| on HN ]
There are no comments on this comment yet.