展示HN:WebCraft:一个C++ 23异步IO库

2作者: raoa32大约 2 个月前原帖
我创建了一个在Linux、Windows和MacOS上运行的C++网络库,其核心基于C++协程和各个平台的原生异步IO。欢迎查看:<a href="https://github.com/adityarao2005/WebCraft" rel="nofollow">https://github.com/adityarao2005/WebCraft</a>。它有一个官方的vcpkg端口。以下是如何使用它的示例:<a href="https://github.com/adityarao2005/http-server-webcraft" rel="nofollow">https://github.com/adityarao2005/http-server-webcraft</a>。
查看原文
I&#x27;ve created a networking library in C++ which works on Linux, Windows, &amp; MacOS and made the core of it based on C++ coroutines and native asyncio from each of these platforms. Check it out: <a href="https:&#x2F;&#x2F;github.com&#x2F;adityarao2005&#x2F;WebCraft" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;adityarao2005&#x2F;WebCraft</a>. It has an official vcpkg port. Here is an example of how to use it <a href="https:&#x2F;&#x2F;github.com&#x2F;adityarao2005&#x2F;http-server-webcraft" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;adityarao2005&#x2F;http-server-webcraft</a>.