Re: PHP True Async RFC Stage 4

From: Date: Wed, 22 Oct 2025 13:09:35 +0000
Subject: Re: PHP True Async RFC Stage 4
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.internals 
Request: Send a blank email to internals+get-128902@lists.php.net to get a copy of this message
> how will the scheduler handle backpressure?

I don’t really understand the problem with the Scheduler, and even
less its relation to backpressure.
Dealing with backpressure is a matter of queue implementation.
The Awaitable contract has nothing to do with this situation.

> I'm not sure what your thought process is here, because in the last few emails you've
> gone from "maybe"
> to doubling-down on this (from my perspective), but I feel like this will be a footgun to both
> developers and the future of the language.

Confident about what exactly?
And what exactly would be the footgun?
These are very general statements.

It seems to me that people in this conference use the word “footgun”
far too often — and not always in the right context.
There’s a lack of rational boundaries here.
Not every programmer’s mistake is a footgun.
Especially that:

```php
if (await($response)) {
  return await($response);
}
```


Thread (104 messages)

« previous php.internals (#128902) next »