Skip to main content

CurateClick

github.com favicon

tinyCoroLab

tinyCoroLab is an experimental course based on tinyCoro, a high-performance async coroutine library combining C++20 coroutines and Linux io_uring. It enables million-level throughput for I/O-intensive tasks with clean, synchronous-style async code.

Check out tinyCoroLab on CurateClick

• Copy the embed code to showcase this product on your website

• Share on X to spread the word about this amazing tool

  • 项目地址:https://github.com/sakurs2/tinyCoroLab- 项目文档地址:https://sakurs2.gitbook.io/tinycorolab-docs- 项目标题:tinyCoroLab-构建基于C++协程和io_uring的百万级吞吐量协程库的实验课程- 项目描述:tinyCoroLab是一门以tinyCoro为基础的实验课程,而tinyCoro是一个linux系统环境下的以C++20协程技术和linux io_uring技术相结合的高性能异步协程库。高效且全能的io_uring和C++20无栈协程的轻量级切换相组合使得tinyCoro可以轻松应对I/O密集型负载,而C++20协程的特性使得用户可以以同步的方式编写异步执行的代码,大大降低了后期维护的工作量,且代码逻辑非常简单且清晰,除此外tinyCoro还提供了协程安全组件,以协程suspend代替线程阻塞便于用户构建协程安全且高效的代码。通过完成tinyCoroLab,你可以从中学习到如何构建一个高性能C++库,对于自身编程能力的提升以及简历项目的丰富有很大帮助。- 亮点: - 以lab形式的课程设计帮你强化学习项目中涉及的知识点。 - 课程最终构建的协程库在性能压测中以百万级吞吐量碾压基线模型。 - 使用较新的C++标准并参考github高star项目的组织形式,代码结构简洁清晰。 - 超过10w字的文档并配有丰富的插图辅助读者理解。- 截图Image- 后续更新本项目会持续更新增加例如http、rpc等协议支持以及完善任务调度机制,欢迎各位参与到该项目的建设中~

Latest Weekly Picks

Predict video virality before you publish.

Virality Predictor

Powerful Motion Control AI Video Generator

Motion Control AI

PlusGO 是面向中国大陆用户的 ChatGPT Plus 代充值服务平台。使用官方 CDKey,支持支付宝和微信扫码支付,平均 2 分钟完成 Plus 开通,自 2025 年起已为超过 10,000 名用户完成充值。

www.toolcenter.ai favicon
Weekly Pick

Discover the Best AI & Productivity Tools — 1,500+ tools with honest reviews.

ToolCenter
huntereyes.net favicon
Weekly Pick

AI Eye Area Evaluation

Hunter Eyes
www.payforchat.com favicon
Weekly Pick

Subscribe to ChatGPT Plus/Pro in 1 minute — no international credit card needed.

PayForChat
happyhorseai.ai favicon
Weekly Pick

Happy Horse AI Creates Videos with Motion and Storytelling

Happy Horse
promptbuilder.cc favicon
Weekly Pick

Generate, optimize, test, and manage AI prompts in one place. Turn an idea into a ready-to-use prompt in seconds.

Prompt Builder