All Projects → tankiJong → cpp-coroutine-job-system

tankiJong / cpp-coroutine-job-system

Licence: MIT License
Example Code for Cpp Coroutine Job System talk at CppCon 2020

Programming Languages

C++
36643 projects - #6 most used programming language
CMake
9771 projects

Projects that are alternatives of or similar to cpp-coroutine-job-system

libjwdpmi
C++20 development framework for 32-bit DOS applications
Stars: ✭ 32 (-13.51%)
Mutual labels:  coroutine, cpp20
swoole-postgresql-doctrine-driver
🔌 A Doctrine DBAL Driver implementation on top of Swoole Coroutine PostgreSQL client
Stars: ✭ 15 (-59.46%)
Mutual labels:  coroutine
storm-engine
Game engine behind Sea Dogs, Pirates of the Caribbean and Age of Pirates games.
Stars: ✭ 636 (+1618.92%)
Mutual labels:  cpp20
Mgx
🌈 A high performance network framework written in c++ (support tcp and http)
Stars: ✭ 15 (-59.46%)
Mutual labels:  coroutine
Burger
🍔 c++11 Server based on coroutine and reactor
Stars: ✭ 58 (+56.76%)
Mutual labels:  coroutine
malloy
A C++ library providing embeddable server & client components for both HTTP and WebSocket.
Stars: ✭ 29 (-21.62%)
Mutual labels:  cpp20
Cardia
Cardia Game Engine
Stars: ✭ 25 (-32.43%)
Mutual labels:  cpp20
Askme
Social media app to ask and answer user questions and interact with users
Stars: ✭ 16 (-56.76%)
Mutual labels:  coroutine
sdsl-lite
Succinct Data Structure Library 3.0
Stars: ✭ 55 (+48.65%)
Mutual labels:  cpp20
BinaryLove3
Simple C++ 20 Serialization Library that works out of the box with aggregate types!
Stars: ✭ 13 (-64.86%)
Mutual labels:  cpp20
crynn
3D Game Engine Created In C++ & OpenGL
Stars: ✭ 45 (+21.62%)
Mutual labels:  cpp20
Coroutines-Animations
Use the power of kotlin coroutines to execute your android animations
Stars: ✭ 31 (-16.22%)
Mutual labels:  coroutine
agrpc
Async GRPC with C++20 coroutine support
Stars: ✭ 53 (+43.24%)
Mutual labels:  cpp20
hev-task-system
A simple, lightweight multi-task system (coroutines) for Unix (Linux/BSD/macOS)
Stars: ✭ 41 (+10.81%)
Mutual labels:  coroutine
harmony
C++ Monadologie
Stars: ✭ 26 (-29.73%)
Mutual labels:  cpp20
scop vulkan
A 3D model viewer written C++20 and Vulkan
Stars: ✭ 133 (+259.46%)
Mutual labels:  cpp20
wind-framework
Pure PHP Coroutine Framework based on Workerman and Amphp.
Stars: ✭ 41 (+10.81%)
Mutual labels:  coroutine
clc
No description or website provided.
Stars: ✭ 20 (-45.95%)
Mutual labels:  cpp20
StringPool
A performant and memory efficient storage for immutable strings with C++17. Supports all standard char types: char, wchar_t, char16_t, char32_t and C++20's char8_t.
Stars: ✭ 19 (-48.65%)
Mutual labels:  cpp20
asio-grpc
Asynchronous gRPC with Asio/unified executors
Stars: ✭ 100 (+170.27%)
Mutual labels:  cpp20

cpp-coroutine-job-system

./CppCon2020-coroutine-job-system.pptx: the slide deck for CppCon 2020

Environment

I only tested on windows with MSVC because I used some OS API and did not bother to make the system portable. But the code should be able to compile with some change of utility functions according to the target platform. User will also need to change the cmake file to update corresponding compiler switch.

Build

  • Tested on visual studio 16.8 Preview 3, which has fully implemented the coroutine TS
  • Open folder in VS
  • Run

Issue Report

  • The code is for demonstration purpose, so I do not have plan to make the system robust.
  • Issue reports/Pull requests are generally welcomed. I will either fix the bug if it's conceptionally wrong, or add comments if I decide not to fix.

Disclaimer

  • This is coded mainly for learning purpose, completely under-tested, so be careful :)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].