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

make.ink favicon
Weekly Pick

Your AI tattoo generator for pro-grade concepts

Leo Wade
sellfy.com favicon
Weekly Pick

A code-free online store builder to turn views into revenue. Sell digital products, subscriptions, and merch, without fees or hassle.

Maris
www.videotoblog.ai favicon
Weekly Pick

Convert videos into awesome blog posts.

Video To Blog
www.sellerpic.ai favicon
Weekly Pick

SellerPic is the all-in-one AI design platform for e-commerce

SellerPic
fastimage.ai favicon
Weekly Pick

Fast Image AI instantly transforms your photos into stunning styles like Ghibli, Sketch, and Pixar. Effortlessly control image elements and create amazing effects with just one click.

Fast AI Team
linkedinpro.daisy.so favicon
Weekly Pick

AI-powered tool that transforms casual photos into professional LinkedIn headshots instantly. No photographer needed—just upload and download.

Gabriel
crevas.ai favicon
Weekly Pick

Crevas unifies Veo 3, Sora 2, Nano Banana and more into one intuitive canvas — so filmmakers can script, prompt, and generate cinematic stories without switching tools or losing consistency.

Spark Alpha
fotominiatur.com favicon
Weekly Pick

AI Foto Edit - Text to Image & Image Edit

foto miniatur