Skip to content

v0.0.2

Latest
Compare
Choose a tag to compare
@tzcnt tzcnt released this 30 Apr 23:23
· 9 commits to main since this release

What's Changed

  • Awaitables as linear types / performance improvements (#10)
  • Compile without warnings on GCC and MSVC (#11)

The introduction of linear types is a substantial improvement to developer safety. There is now a chain of custody from:

  1. Creation of a task
  2. (optional) Wrapping of that task into a customizable awaitable
  3. (optional) Customization functions on that
  4. Submission of the task to the executor

At each step you must std::move the prior stage into the next. If you attempt to reuse the old variable, static analysis tools should be able to detect this use-after-move.