Giter VIP home page Giter VIP logo

thibfrgsgmz / cpp-baremetal-senders-and-receivers Goto Github PK

View Code? Open in Web Editor NEW

This project forked from intel/cpp-baremetal-senders-and-receivers

0.0 0.0 0.0 210 KB

An implementation of C++ "senders and receivers" async framework suitable for embedded platforms.

Home Page: https://intel.github.io/cpp-baremetal-senders-and-receivers/

License: Boost Software License 1.0

C++ 99.04% CMake 0.96%

cpp-baremetal-senders-and-receivers's Introduction

C++ Bare Metal Senders and Receivers

Unit Tests

WARNING: Work in Progress!

This library is under active development. It is a work in progress and has not yet been proved in production. Proceed at your own risk.

Abstract

C++ Bare Metal Senders and Receivers is a C++ header-only library that partially implements P2300, the proposed C++ standard design for asynchronous computation.

This implementation is intended for use on bare metal microcontrollers and implements a subset of the standard design. P2300 does encourage implementations not to do any runtime allocation, and that is fine for bare metal. But some notable differences here from the standard proposal are:

  • This implementation does not deal with exceptions in any way. An error is just an error value.
  • Coroutines are not considered at all. This implementation does not preclude coroutines as senders, but in a bare metal environment, the lack of non-allocation guarantees currently makes using coroutines an uncertain proposition at best.
  • Generalized tag dispatch may be missing for some functions.

In general, although the P2300 design allows mechanism-agnostic handling of concurrency, the main mechanism of concurrency targeted by this library is interrupts. A careful reading of [intro.multithread] is recommended to understand how the C++ memory model defines well-formed concurrent execution.

C++20 is required. The following compilers are supported:

  • clang 14 through 17
  • gcc 12 through 13

See the full documentation.

cpp-baremetal-senders-and-receivers's People

Contributors

bdeane-intel avatar dependabot[bot] avatar elbeno avatar lukevalenty avatar mjcaisse avatar rdower avatar

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.