On Fri, 30 Jan 2026 at 15:29, Vinnie Falco via Boost <boost@lists.boost.org> wrote:
This library provides facilities which use C++20 coroutines to perform I/O. It is not a networking library, yet it is the perfect foundation upon which networking libraries, or any libraries that perform I/O, may be built.
I think this is a sound approach. That said, as a potential user, I've got a question:
Capy is also the foundation for yet another new library (not yet proposed) called "Http"
https://github.com/cppalliance/http
https://master.http.cpp.al/http/index.html
The Http library uses Capy, yet does not use Corosio. That is because Http is "Sans/IO."
When we say sans-io, it usually means that it can be used regardless of the I/O framework and completion paradigm you're using (think of OpenSSL). Can I implement an Asio universal async operation using Capy? I got the impression that I can't, however it should be possible if the library is truely sans-io. The reason I'm asking is because I'm writing a PostgreSQL library that targets C++20 and above, hence your proposed library is an option. I intend to expose a sans-io API. This API needs to power both a Corosio connection and an Asio connection (at the end of the day, I want users, and today users do Asio). Regards, Rubén.