Compatibility with asio
kassane opened this issue · 4 comments
First of all, I want to congratulate you on the project, as it seems to me quite interesting. It will help a lot for those who try to standardize projects made in c++ and rust.
But it would be interesting to use it in a project involving asio (boost/standalone).
Thanks!
Noted. I'll consider that.
One more thing, why specifically boost asio?
I currently use asio for low latency connections. In addition to being compatible with the new features of C++20 (in this case coroutines and concept).
It would not necessarily have to be compatible with the exclusive boost version. Even because the purpose of this project is to be an extension of std (Networking TS)
Standalone: https://github.com/chriskohlhoff/asio
They would be compatible, asio already has its error-handling model (exceptions and error codes as it seems). There's no reason for them to be incompatible.
Do note that STX doesn't replace nor make changes to exceptions and error codes. Result, and Option are more of an alternate error handling model.