Git Product home page Git Product logo

luncliff / coroutine Goto Github PK

View Code? Open in Web Editor NEW
472.0 17.0 43.0 12.14 MB

C++ 20 Coroutines in Action (Helpers + Test Code Examples)

Home Page: https://luncliff.github.io/coroutine

License: Creative Commons Zero v1.0 Universal

CMake 4.38% C++ 91.56% Shell 1.63% Batchfile 0.77% PowerShell 1.13% Dockerfile 0.53%
cpp20 cpp msvc coroutines-ts clang clang-cl coroutines examples coroutine

coroutine's Introduction

coroutine

C++ 20 Coroutines in Action

Build Status Codacy Badge CMake

Purpose of this repository

  • Help understanding of the C++ Coroutines
  • Provide meaningful design example with the feature

In that perspective, the library will be maintained as small as possible. Have fun with them. And try your own coroutines! If you want some tool support, please let me know. I'm willing to learn about it.

If you are looking for another materials, visit the MattPD's collection!

  • Start with the GitHub Pages :)
    You will visit the test/ and interface/ folder while reading the docs.
  • This repository has some custom(and partial) implementation for the C++ Coroutines in the <coroutine/frame.h>.
    It can be activated with macro USE_PORTABLE_COROUTINE_HANDLE

Toolchain Support

Currently using CMake to generate buildsystem files with the following compilers.

  • msvc v142+
  • clang-cl 13+
  • clang 12+
  • AppleClang 12+
  • gcc 10.0+

How To

Setup

git clone "https://github.com/luncliff/coroutine"
Push-Location coroutine
  # ...
Pop-Location

Test

Exploring test(example) codes will be helpful. The library uses CTest for its test. AppVeyor & Travis CI build log will show the execution of them.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.