jbaldwin / libcoro

C++20 coroutine library
Apache License 2.0
565 stars 57 forks source link

Explore using libuv for cross platform io support #248

Closed jbaldwin closed 7 months ago

jbaldwin commented 7 months ago

The use of linux epoll works great for linux, but its a fairly significant amount of functionality that users of other platforms cannot use since coro::io_scheduler is linux specific.

  1. Try and see how difficult it would be to retrofit the io functionality with libuv
  2. If reasonable run benchmarks and see if there is any major performance penalty.
  3. How difficult is it to build with libuv as a dependency? Should it be compiled directly in or is it possible on all platforms to install as a shared library and linked to?
jbaldwin commented 7 months ago

I think for now we'll keep dependencies lean and not go down this path at this time.

jmpews commented 2 days ago

hi, is there any updated? 😊