2 Aug
2018
2 Aug
'18
5:45 p.m.
On 08/02/18 17:24, james via Boost-users wrote:
Networking.TS has unfortunately tied itself to executors, there was no need for that.
Can you elaborate Are you talking about the split between io_context and executors?
To be fair, it's probably easier to use libuv and put up with the loss of type safety. At least you'll be able to set timeouts properly.
This is surprising observation, because I have the exact opposite experience. Can you elaborate? When I compare my Asio and libuv wrappers, the libuv timer code is more complex because the cancel operation needs to do a deferred deletion. The rest of the wrappers are roughly comparable in complexity (if we ignore all the type-casting needed by the libuv wrapper.)