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

2作者: raoa326 个月前
我用 C++ 创建了一个跨平台的网络库,支持 Linux、Windows 和 MacOS,其核心基于 C++ 协程以及这些平台原生的异步 I/O。欢迎了解:<a href="https:&#x2F;&#x2F;github.com&#x2F;adityarao2005&#x2F;WebCraft" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;adityarao2005&#x2F;WebCraft</a>。它有一个官方的 vcpkg 端口。这里有一个使用它的例子:<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>。
查看原文
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>.