A framework to use async/await without fibers using generators

This page summarizes the projects mentioned and recommended in the original post on /r/PHP

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • await-generator

    Write code in async/await style in PHP using generators.

  • PocketMine-MP

    A server software for Minecraft: Bedrock Edition in PHP

  • long answer: amp is a full framework including other context-specific components like event loops, web framework, etc. It is too bloated for the usual use case in our community (which is primarily phar plugins for PocketMine-MP). await-generator only provides the basic async executor (which dispatches the generator) plus a few basic context-agnostic synchronization primitives like async iterators, mutex and channels. It does not depend on any runtime (it does not even have a scheduler). furthermore, I am not a fan of the Promise/Generator split in amp, which increases the cognitive complexity of an API. btw, await-generator is not Promise/A+ compliant using the equivalent definitions, because a lack of runtime implies it is unable to satisfy 2.2.4 (execute subsequent operations with clear stack), i.e. exceptions thrown after yielding might end up generating enormous stack traces (await-generator has manual tail recursion optimization to mitigate this). You could always write a framework-specific function that takes in a generator and yields from it after the framework finishes the current stack though.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • How to Create and Play On a Server in MCPE 0.7.6?

    1 project | /r/GoldenAgeMinecraft | 22 Jun 2023
  • How can bedrock servers lime hive/mineplex have minigames and other bukkit like - features?

    2 projects | /r/admincraft | 23 Nov 2022
  • Bedrock is big brain

    1 project | /r/admincraft | 25 Apr 2022
  • A minimal, offline PHAR file viewer webapp written in Rust (+ Rust library for the phar format)

    1 project | /r/PHP | 28 Dec 2021
  • But guys, if you had to choose?.....

    3 projects | /r/ProgrammerHumor | 24 Dec 2022