展示HN:WebCraft:一个C++ 23异步IO库
我创建了一个在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've created a networking library in C++ which works on Linux, Windows, & 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://github.com/adityarao2005/WebCraft" rel="nofollow">https://github.com/adityarao2005/WebCraft</a>. It has an official vcpkg port. Here is an example of how to use it <a href="https://github.com/adityarao2005/http-server-webcraft" rel="nofollow">https://github.com/adityarao2005/http-server-webcraft</a>.