Skip to content

azurity/upromise

Repository files navigation

Promises/A+ logo

upromise

A javascript-like promise library for C/C++.

features

  • Promises/A+ 1.1 compliant (except for arbitrary types as arguments)
  • Completely implemented in C
  • Provide C++ binding in the same header file and provide Thenable
  • The C language part only uses the standard library and ucontext (using the functional encapsulation provided by the corountine library)
  • Complete porting of Promises/A+ tests to C++
  • Implementation of async/await similar to javascript
  • Implementation of generator similar to javascript
  • Implementation of async generator similar to javascript

roadmap

  • better test-cases for async/await, generator and async-generator

known issues

  • Build to Release will cause SegmentFault, but this will nott happen if building to RelWithDebInfo.