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

fotominiatur.com favicon
Weekly Pick

AI Foto Edit - Text to Image & Image Edit

foto miniatur
hynote.ai favicon
Weekly Pick

AI-powered note-taking solution that captures, transcribes, and summarizes meetings, documents, and multimedia content in real-time

HyNote AI
chromewebstore.google.com favicon
Weekly Pick

Easily download Sora videos and thumbnails - One-click extraction and save for ChatGPT Sora generated video content

SoraVideoDownloader.com

Create spine-chilling text designs with the Halloween Spooky font.

dreamflow.app favicon
Weekly Pick

Prompt with AI, refine UI visually, or go deep in code. The 3 surfaces stay connected, giving you speed, flexibility, and code you can own.

Abel
fotominiatur.com favicon
Weekly Pick

An AI-powered image generation and editing tool specializing in creating miniature worlds. Offers precise photo editing capabilities to transform ordinary images into imaginative scenes.

ZhangVampire
subway.cuvii.dev favicon
Weekly Pick

An interactive subway network browsing experience that allows users to explore metro systems in a dynamic and engaging way.

thecuvii
github.com favicon
Weekly Pick

A Chrome extension that syncs cookies to Cloudflare, enabling seamless cookie sharing across devices. It features auto-merge/push rules, protobuf encoding, and a management panel for viewing and managing synced cookies.

jackluson