Re: [PHP-DEV] [VOTE] Fibers

2021-03-23 Thread Niklas Keller
Hey all, I've closed the vote and I'm happy to report that the RFC has been accepted with 78.125% in favor (50:14). I've moved the RFC to the landing state on https://wiki.php.net/rfc#pending_implementationlanding Thank you all for voting and taking part in the discussion! I'll follow-up once

Re: [PHP-DEV] [VOTE] Fibers

2021-03-22 Thread Niklas Keller
> > >> I hope others would > >> play with it more as well if we had more time. Any objections? > > > > Yes, I object. > > > > You've been around PHP internals long enough to see the drama has > > occurred on other RFCs where people have been > > cajoled/pressured/threatened to either suspend votes

Re: [PHP-DEV] [VOTE] Fibers

2021-03-22 Thread Ben Ramsey
> On Mar 22, 2021, at 13:21, Dan Ackroyd wrote: > > On Fri, 19 Mar 2021 at 20:53, Levi Morrison via internals > wrote: >> I hope others would >> play with it more as well if we had more time. Any objections? > > Yes, I object. > > You've been around PHP internals long enough to see the drama

Re: [PHP-DEV] [VOTE] Fibers

2021-03-22 Thread Chase Peeler
On Mon, Mar 22, 2021 at 2:22 PM Dan Ackroyd wrote: > On Fri, 19 Mar 2021 at 20:53, Levi Morrison via internals > wrote: > > I hope others would > > play with it more as well if we had more time. Any objections? > > Yes, I object. > > You've been around PHP internals long enough to see the drama

Re: [PHP-DEV] [VOTE] Fibers

2021-03-22 Thread Dan Ackroyd
On Fri, 19 Mar 2021 at 20:53, Levi Morrison via internals wrote: > I hope others would > play with it more as well if we had more time. Any objections? Yes, I object. You've been around PHP internals long enough to see the drama has occurred on other RFCs where people have been

Re: [PHP-DEV] [VOTE] Fibers

2021-03-22 Thread Peter Kokot
On Mon, 22 Mar 2021 at 18:23, Guilliam Xavier wrote: > > On Mon, Mar 22, 2021 at 5:23 PM G. P. B. wrote: > > > > > The thing is that by my recollections votes have already been extended. > > Mostly when there has been issues with the mailing list, or some outside > > event. > > > > Moreso, I

Re: [PHP-DEV] [VOTE] Fibers

2021-03-22 Thread Guilliam Xavier
On Mon, Mar 22, 2021 at 5:23 PM G. P. B. wrote: > > The thing is that by my recollections votes have already been extended. > Mostly when there has been issues with the mailing list, or some outside > event. > > Moreso, I don't think extending a vote will in most cases result in the > outcome >

Re: [PHP-DEV] [VOTE] Fibers

2021-03-22 Thread G. P. B.
On Mon, 22 Mar 2021 at 16:20, G. P. B. wrote: > On Mon, 22 Mar 2021 at 16:01, Guilliam Xavier > wrote: > >> On Mon, Mar 22, 2021 at 4:38 PM Levi Morrison < >> levi.morri...@datadoghq.com> >> wrote: >> >> > On Mon, Mar 22, 2021 at 9:13 AM Guilliam Xavier >> > wrote: >> > > >> > > On Sat, Mar

Re: [PHP-DEV] [VOTE] Fibers

2021-03-22 Thread G. P. B.
On Mon, 22 Mar 2021 at 16:01, Guilliam Xavier wrote: > On Mon, Mar 22, 2021 at 4:38 PM Levi Morrison > > wrote: > > > On Mon, Mar 22, 2021 at 9:13 AM Guilliam Xavier > > wrote: > > > > > > On Sat, Mar 20, 2021 at 3:06 PM Aaron Piotrowski > > wrote: > > >> > > >> > > >> > On Mar 19, 2021, at

Re: [PHP-DEV] [VOTE] Fibers

2021-03-22 Thread Guilliam Xavier
> > I also cannot find anything in the rules that allows for the author > canceling an ongoing vote, but I believe we’ve done that in the past. > Maybe this mention in https://wiki.php.net/rfc/howto (not sure it's authoritative though)? > 7. Based on the result of the votes and the discussion

Re: [PHP-DEV] [VOTE] Fibers

2021-03-22 Thread Guilliam Xavier
On Mon, Mar 22, 2021 at 4:38 PM Levi Morrison wrote: > On Mon, Mar 22, 2021 at 9:13 AM Guilliam Xavier > wrote: > > > > On Sat, Mar 20, 2021 at 3:06 PM Aaron Piotrowski > wrote: > >> > >> > >> > On Mar 19, 2021, at 5:47 PM, Levi Morrison < > levi.morri...@datadoghq.com> wrote: > >> > > >> > On

Re: [PHP-DEV] [VOTE] Fibers

2021-03-22 Thread Levi Morrison via internals
On Mon, Mar 22, 2021 at 9:55 AM Rowan Tommins wrote: > > On 22/03/2021 15:38, Levi Morrison via internals wrote: > > We should dig through the history, because the line before that is in > > conflict: > > > >> Votes should be open for two weeks at minimum, at the authors discretion > >> this

Re: [PHP-DEV] [VOTE] Fibers

2021-03-22 Thread Ben Ramsey
> On Mar 22, 2021, at 10:38, Levi Morrison via internals > wrote: > > On Mon, Mar 22, 2021 at 9:13 AM Guilliam Xavier > wrote: >> >> On Sat, Mar 20, 2021 at 3:06 PM Aaron Piotrowski wrote: >>> >>> On Mar 19, 2021, at 5:47 PM, Levi Morrison wrote: On Fri, Mar 19, 2021

Re: [PHP-DEV] [VOTE] Fibers

2021-03-22 Thread Rowan Tommins
On 22/03/2021 15:38, Levi Morrison via internals wrote: We should dig through the history, because the line before that is in conflict: Votes should be open for two weeks at minimum, at the authors discretion this may be extended, for example during holiday periods. A valid voting period must

Re: [PHP-DEV] [VOTE] Fibers

2021-03-22 Thread Levi Morrison via internals
On Mon, Mar 22, 2021 at 9:13 AM Guilliam Xavier wrote: > > On Sat, Mar 20, 2021 at 3:06 PM Aaron Piotrowski wrote: >> >> >> > On Mar 19, 2021, at 5:47 PM, Levi Morrison >> > wrote: >> > >> > On Fri, Mar 19, 2021 at 3:54 PM Niklas Keller > > > wrote: >> >> >> >> Hey

Re: [PHP-DEV] [VOTE] Fibers

2021-03-22 Thread Guilliam Xavier
On Sat, Mar 20, 2021 at 3:06 PM Aaron Piotrowski wrote: > > > On Mar 19, 2021, at 5:47 PM, Levi Morrison > wrote: > > > > On Fri, Mar 19, 2021 at 3:54 PM Niklas Keller m...@kelunik.com>> wrote: > >> > >> Hey Levi, > >> > >>> On Mon, Mar 8, 2021 at 12:40 PM Aaron Piotrowski > wrote: > >

Re: [PHP-DEV] [VOTE] Fibers

2021-03-20 Thread Aaron Piotrowski
> On Mar 19, 2021, at 5:47 PM, Levi Morrison > wrote: > > On Fri, Mar 19, 2021 at 3:54 PM Niklas Keller > wrote: >> >> Hey Levi, >> >>> On Mon, Mar 8, 2021 at 12:40 PM Aaron Piotrowski wrote: Greetings everyone! The vote has started on the

Re: [PHP-DEV] [VOTE] Fibers

2021-03-20 Thread Josh Di Fabio
HI Rowan, Thanks for sharing your thoughts. On Fri, Mar 19, 2021 at 7:55 PM Rowan Tommins wrote: > > On 18/03/2021 09:20, Josh Di Fabio wrote: > > "If you want to enable fibers in your application, you must be > > confident about the implementation details of all of the code in your > >

Re: [PHP-DEV] [VOTE] Fibers

2021-03-19 Thread Mike Schinkel
> On Mar 19, 2021, at 3:55 PM, Rowan Tommins wrote: > > On 18/03/2021 09:20, Josh Di Fabio wrote: >> "If you want to enable fibers in your application, you must be >> confident about the implementation details of all of the code in your >> application, including that of your dependencies,

Re: [PHP-DEV] [VOTE] Fibers

2021-03-19 Thread Levi Morrison via internals
On Fri, Mar 19, 2021 at 3:54 PM Niklas Keller wrote: > > Hey Levi, > >> On Mon, Mar 8, 2021 at 12:40 PM Aaron Piotrowski wrote: >> > >> > Greetings everyone! >> > >> > The vote has started on the fiber RFC: https://wiki.php.net/rfc/fibers >> > >> > >> > Voting

Re: [PHP-DEV] [VOTE] Fibers

2021-03-19 Thread Niklas Keller
Hey Levi, On Mon, Mar 8, 2021 at 12:40 PM Aaron Piotrowski wrote: > > > > Greetings everyone! > > > > The vote has started on the fiber RFC: https://wiki.php.net/rfc/fibers < > https://wiki.php.net/rfc/fibers> > > > > Voting will run through March 22nd. > > > > Cheers, > > Aaron Piotrowski > >

Re: [PHP-DEV] [VOTE] Fibers

2021-03-19 Thread Levi Morrison via internals
On Mon, Mar 8, 2021 at 12:40 PM Aaron Piotrowski wrote: > > Greetings everyone! > > The vote has started on the fiber RFC: https://wiki.php.net/rfc/fibers > > > Voting will run through March 22nd. > > Cheers, > Aaron Piotrowski This is selfish, but I would like

Re: [PHP-DEV] [VOTE] Fibers

2021-03-19 Thread Rowan Tommins
On 18/03/2021 09:20, Josh Di Fabio wrote: "If you want to enable fibers in your application, you must be confident about the implementation details of all of the code in your application, including that of your dependencies, which are written and maintained by other developers." I don't have

Re: [PHP-DEV] [VOTE] Fibers

2021-03-18 Thread Josh Di Fabio
On Thu, Mar 18, 2021 at 1:55 PM Guilliam Xavier wrote: > > Hi, > >> Guzzle's requestAsync() returns a promise, it does not >> interrupt/suspend the callsite. For example: >> >> // this function is not interrupted/suspended -- it will return >> synchronously >> function doSomething() { >>

Re: [PHP-DEV] [VOTE] Fibers

2021-03-18 Thread Guilliam Xavier
Hi, Guzzle's requestAsync() returns a promise, it does not > interrupt/suspend the callsite. For example: > > // this function is not interrupted/suspended -- it will return > synchronously > function doSomething() { > $this->guzzle->requestAsync(...)->then(... handle response

Re: [PHP-DEV] [VOTE] Fibers

2021-03-18 Thread Josh Di Fabio
Hi Peter, Thanks for clarifying. On Thu, Mar 18, 2021 at 2:43 AM Peter Stalman wrote: > > On Wed, Mar 17, 2021 at 7:41 AM Josh Di Fabio wrote: >> >> Note the difference between the two. Also note how, in both of the >> above cases, the asynchronicity is explicit and the developer has >> opted

Re: [PHP-DEV] [VOTE] Fibers

2021-03-17 Thread Peter Stalman
On Wed, Mar 17, 2021 at 7:41 AM Josh Di Fabio wrote: > Note the difference between the two. Also note how, in both of the > above cases, the asynchronicity is explicit and the developer has > opted into it. Both of the above are different approaches to that > being proposed in this RFC (this is

Re: [PHP-DEV] [VOTE] Fibers

2021-03-17 Thread Josh Di Fabio
On Wed, Mar 17, 2021 at 9:06 AM Peter Stalman wrote: > > On Tue., Mar. 16, 2021, 23:49 Josh Di Fabio, wrote: >> >> Imagine for a moment that you create a library, awesome-library-x, >> which uses a PSR logger internally. You will most certainly allow that >> logger to be injected into your

Re: [PHP-DEV] [VOTE] Fibers

2021-03-17 Thread Peter Stalman
On Tue., Mar. 16, 2021, 23:49 Josh Di Fabio, wrote: > Imagine for a moment that you create a library, awesome-library-x, > which uses a PSR logger internally. You will most certainly allow that > logger to be injected into your library. Now imagine that some other > developer uses

Re: [PHP-DEV] [VOTE] Fibers

2021-03-17 Thread Josh Di Fabio
Hi Peter, Thanks for the feedback! On Wed, Mar 17, 2021 at 3:02 AM Peter Stalman wrote: > > On Tue., Mar. 16, 2021, 13:58 Josh Di Fabio, wrote: >> >> Fibers will not make those issues obvious at all. The issues I'm >> describing will only crop up spontaneously and under load. > > > Hi Josh, >

Re: [PHP-DEV] [VOTE] Fibers

2021-03-16 Thread Peter Stalman
On Tue., Mar. 16, 2021, 13:58 Josh Di Fabio, wrote: > Fibers will not make those issues obvious at all. The issues I'm > describing will only crop up spontaneously and under load. > Hi Josh, Is this really that big of a concern though? The issue will only be a problem if it's run inside an

Re: [PHP-DEV] [VOTE] Fibers

2021-03-16 Thread Josh Di Fabio
Hi Larry, Thanks for the feedback. Replies inline. On Tue, Mar 16, 2021 at 8:33 PM Larry Garfield wrote: > > On Tue, Mar 16, 2021, at 1:44 PM, Josh Di Fabio wrote: > > > Perhaps we could rather make fibers *opt in* at the *callsite* > > (similar to goroutine calls) in order to prevent functions

Re: [PHP-DEV] [VOTE] Fibers

2021-03-16 Thread Josh Di Fabio
Hi Niklas, On Tue, Mar 16, 2021 at 8:07 PM Niklas Keller wrote: > > Hey Josh, > >> >> > This is a very valid concern to have. However, this code won't simply >> > break if executed asynchronously. >> > It only breaks if the same method (or other methods making use of the same >> > state) is

Re: [PHP-DEV] [VOTE] Fibers

2021-03-16 Thread Larry Garfield
On Tue, Mar 16, 2021, at 1:44 PM, Josh Di Fabio wrote: > Perhaps we could rather make fibers *opt in* at the *callsite* > (similar to goroutine calls) in order to prevent functions > unexpectedly being executed asynchronously due to faraway changes. > This would be safe and predictable while also

Re: [PHP-DEV] [VOTE] Fibers

2021-03-16 Thread Niklas Keller
Hey Josh, > > This is a very valid concern to have. However, this code won't simply > break if executed asynchronously. > > It only breaks if the same method (or other methods making use of the > same state) is executed concurrently on that object. > > I understand this, but of course this will

Re: [PHP-DEV] [VOTE] Fibers

2021-03-16 Thread Josh Di Fabio
On Tue, Mar 16, 2021 at 6:20 PM Niklas Keller wrote: > > Hey Josh, > >> >> Apologies, this is a long one! >> >> This RFC strikes me as being very dangerous. Implicitly allowing code >> which is synchronous by design to be executed asynchronously seems >> sure to lead to very subtle,

Re: [PHP-DEV] [VOTE] Fibers

2021-03-16 Thread Niklas Keller
Hey Josh, > Apologies, this is a long one! > > This RFC strikes me as being very dangerous. Implicitly allowing code > which is synchronous by design to be executed asynchronously seems > sure to lead to very subtle, unpredictable, confusing and dangerous > bugs. > Thank you for sharing your

Re: [PHP-DEV] [VOTE] Fibers

2021-03-16 Thread Peter Kokot
Hello everyone, I'm just adding a few cents into this discussion. I've voted "yes" because we don't have any other async stuff RFCs available nor in the preparation. PHP needs such functionalities very badly and very quickly to sort of speak. Adding a brand new extension in the core is maybe a

Re: [PHP-DEV] [VOTE] Fibers

2021-03-16 Thread Josh Di Fabio
On Fri, Mar 12, 2021 at 10:54 PM Aaron Piotrowski wrote: > > > > On Mar 12, 2021, at 4:36 PM, Christoph M. Becker wrote: > > > > On 12.03.2021 at 23:04, Michael Wallner wrote: > > > >> Thank you, and everyone involved, for your effort. > >> > >> On 08/03/2021 20.40, Aaron Piotrowski wrote: > >>>

Re: [PHP-DEV] [VOTE] Fibers

2021-03-12 Thread Aaron Piotrowski
> On Mar 12, 2021, at 4:36 PM, Christoph M. Becker wrote: > > On 12.03.2021 at 23:04, Michael Wallner wrote: > >> Thank you, and everyone involved, for your effort. >> >> On 08/03/2021 20.40, Aaron Piotrowski wrote: >>> Greetings everyone! >>> >>> The vote has started on the fiber RFC:

Re: [PHP-DEV] [VOTE] Fibers

2021-03-12 Thread Christoph M. Becker
On 12.03.2021 at 23:04, Michael Wallner wrote: > Thank you, and everyone involved, for your effort. > > On 08/03/2021 20.40, Aaron Piotrowski wrote: >> Greetings everyone! >> >> The vote has started on the fiber RFC: https://wiki.php.net/rfc/fibers >> >> >>

Re: [PHP-DEV] [VOTE] Fibers

2021-03-12 Thread Derick Rethans
On 12 March 2021 22:04:12 GMT, Michael Wallner wrote: >Hi Aaron! > >Thank you, and everyone involved, for your effort. > >On 08/03/2021 20.40, Aaron Piotrowski wrote: >> Greetings everyone! >> >> The vote has started on the fiber RFC: >https://wiki.php.net/rfc/fibers

Re: [PHP-DEV] [VOTE] Fibers

2021-03-12 Thread Michael Wallner
Hi Aaron! Thank you, and everyone involved, for your effort. On 08/03/2021 20.40, Aaron Piotrowski wrote: > Greetings everyone! > > The vote has started on the fiber RFC: https://wiki.php.net/rfc/fibers > > > Voting will run through March 22nd. I voted /no/,

Re: [PHP-DEV] [VOTE] Fibers

2021-03-12 Thread Aaron Piotrowski
> On Mar 12, 2021, at 3:00 AM, twosee wrote: > > Now, Swow's working principle is a bit like Opcache. Opcache will optimize > and replace the CPU instructions, which executed by the code, and Swow will > replace the blocking system calls with the corresponding coroutine operation. > They

Re: [PHP-DEV] [VOTE] Fibers

2021-03-12 Thread G. P. B.
On Fri, 12 Mar 2021 at 04:06, 韩天峰 wrote: > HiDan, > > > We have no commercial purpose on the swoole open source project.This > is a purely technical project. > If possible, we can remove the name of swoole, contribute the source code > of swoole-src to php-src, and transfer the copyright. > Here

Re: [PHP-DEV] [VOTE] Fibers

2021-03-12 Thread twosee
> 2021年3月12日 上午5:50,Dan Ackroyd 写道: > > Hi Twosee, Tianfeng.Han > > I was drafting a longer reply to you both, but I realised I might be > missing some information. > > Please could you disclose the commercial interests of the Swoole > maintainers, and the ties to the for profit companies that

Re: [PHP-DEV] [VOTE] Fibers

2021-03-11 Thread 韩天峰
HiDan, We have no commercial purpose on the swoole open source project.This is a purely technical project. If possible, we can remove the name of swoole, contribute the source code of swoole-src to php-src, and transfer the copyright. Here is just a technical discussion.My opinion is that if

Re: [PHP-DEV] [VOTE] Fibers

2021-03-11 Thread Aaron Piotrowski
> On Mar 11, 2021, at 10:41 AM, Ben Ramsey wrote: > >> On Mar 11, 2021, at 10:29, Aaron Piotrowski wrote: >> >> There is not an internal API to create fibers at this time. However, I >> planned to collaborate with other internals developers to add this API (and >> of course with feedback

Re: [PHP-DEV] [VOTE] Fibers

2021-03-11 Thread Dan Ackroyd
Hi Twosee, Tianfeng.Han I was drafting a longer reply to you both, but I realised I might be missing some information. Please could you disclose the commercial interests of the Swoole maintainers, and the ties to the for profit companies that provide services implementing Swoole? Having people

Re: [PHP-DEV] [PHP-DEV] [VOTE] Fibers

2021-03-11 Thread Christian Schneider
Am 11.03.2021 um 17:51 schrieb Chase Peeler : > If someone is willing to do the work to > add this to core, we aren't trading off other features in order to add it, > and it doesn't cause BC breaks or other bugs, what is the reason to not add > it? Complexity, which might come back and bite us

Re: [PHP-DEV] [VOTE] Fibers

2021-03-11 Thread Benjamin Eberlei
On Wed, Mar 10, 2021 at 10:51 PM Kalle Sommer Nielsen wrote: > Den ons. 10. mar. 2021 kl. 20.22 skrev Dan Ackroyd >: > > > > Hi internals, > > > > Well, technically this is addressed more to people who read internals. > > > > Please don't contact people off list putting pressure on them to vote

Re: [PHP-DEV] 回复:Re: [PHP-DEV] [VOTE] Fibers

2021-03-11 Thread Chase Peeler
Stalman"; > 发送时间: 2021年3月11日(星期四) 下午2:37 > 收件人: "韩天峰"; > 抄送: "Aaron Piotrowski"; "php internals"; > 主题: Re: [PHP-DEV] [VOTE] Fibers > > > > OnWed.,Mar.10,2021,02:16韩天峰,< > ra...@swoole.comwrote: > > > Iamafraidthatfib

Re: [PHP-DEV] [VOTE] Fibers

2021-03-11 Thread Ben Ramsey
> On Mar 11, 2021, at 10:29, Aaron Piotrowski wrote: > > There is not an internal API to create fibers at this time. However, I > planned to collaborate with other internals developers to add this API (and > of course with feedback from swoole developers), so this will be a feature >

Re: [PHP-DEV] [VOTE] Fibers

2021-03-11 Thread Aaron Piotrowski
> On Mar 11, 2021, at 7:56 AM, 韩天峰 wrote: > > The RFC does not mention how an extension uses fiber. > Hi, I forgot to address your point that the RFC does not mention how an extension uses fibers. I did omit this from the RFC as I focused on the user API, as that is typically what PHP

Re: [PHP-DEV] [VOTE] Fibers

2021-03-11 Thread Aaron Piotrowski
> Hi all! > > A concern was raised off list that due to the complexity of the way this > feature interacts with the engine, it may be best to mark the feature as > experimental. This would allow some changes to be made to certain edge-case > behaviors and, while I don't think it would be

Re: [PHP-DEV] [VOTE] Fibers

2021-03-11 Thread Aaron Piotrowski
> On Mar 11, 2021, at 7:56 AM, 韩天峰 wrote: > > Hi, > I am come from Chinese, we may have some cultural differences, and there may > be some difficulties in communication. I try to express my opinion. > To be precise, the fiber can only be used for amphp and reactphp or other > event-driven

[PHP-DEV] 回复:Re: [PHP-DEV] [VOTE] Fibers

2021-03-11 Thread 韩天峰
Peter Stalman"; 发送时间: 2021年3月11日(星期四) 下午2:37 收件人: "韩天峰"; 抄送: "Aaron Piotrowski"; "php internals"; 主题: Re: [PHP-DEV] [VOTE] Fibers OnWed.,Mar.10,2021,02:16韩天峰,

Re: [PHP-DEV] [VOTE] Fibers

2021-03-10 Thread Peter Stalman
On Wed., Mar. 10, 2021, 02:16 韩天峰, wrote: > I am afraid that fiber can only be used in the amphp framework and is of > no value to other php projects. > Hi, I'd like to see you elaborate on this point. Are you able to provide anything to back up this claim? I don't see anything that is

Re: [PHP-DEV] [VOTE] Fibers

2021-03-10 Thread Kalle Sommer Nielsen
Den ons. 10. mar. 2021 kl. 20.22 skrev Dan Ackroyd : > > Hi internals, > > Well, technically this is addressed more to people who read internals. > > Please don't contact people off list putting pressure on them to vote > in a particular way. > > It _really_ is not appreciated, no matter how well

Re: [PHP-DEV] [VOTE] Fibers

2021-03-10 Thread Cees-Jan Kiewiet
g like Golang, > asynchronous IO and coroutine system can be designed in the next major > version (PHP9), this requires a lot of work. > > > from: Tianfeng.Han > date: 2021/03/10 > > -- Original -- > From: "Aaron Piotrowski"

Re: [PHP-DEV] [VOTE] Fibers

2021-03-10 Thread Aaron Piotrowski
> On Mar 10, 2021, at 12:21 PM, Dan Ackroyd wrote: > > Hi internals, > > Well, technically this is addressed more to people who read internals. > > Please don't contact people off list putting pressure on them to vote > in a particular way. > > It _really_ is not appreciated, no matter how

Re: [PHP-DEV] [VOTE] Fibers

2021-03-10 Thread Dan Ackroyd
Hi internals, Well, technically this is addressed more to people who read internals. Please don't contact people off list putting pressure on them to vote in a particular way. It _really_ is not appreciated, no matter how well intentioned the sender thinks it is. I maintain some notes on RFC

Re: [PHP-DEV] [VOTE] Fibers

2021-03-10 Thread Aaron Piotrowski
> On Mar 10, 2021, at 2:15 AM, 韩天峰 wrote: > > Hi ereryone, My name is Tianfeng.Han, I am founder of swoole project. We have > done a lot of exploration in cli server side programming of php > > I think, ext-fiber is more suitable as a pecl project. > > Coroutine and asynchronous IO is a new

Re: [PHP-DEV] [VOTE] Fibers

2021-03-10 Thread Aaron Piotrowski
> On Mar 10, 2021, at 4:56 AM, Peter Stalman wrote: > > On Tue, Mar 9, 2021 at 6:03 PM twosee wrote: > > 5. Not compatible with Swoole > > In my opinion, Swoole is an important part of the PHP ecosystem. But now, > Fiber cannot work with Swoole. And based on the above reasons, Swoole will

Re: [PHP-DEV] [VOTE] Fibers

2021-03-10 Thread Peter Stalman
On Tue, Mar 9, 2021 at 6:03 PM twosee wrote: > > 5. Not compatible with Swoole > > In my opinion, Swoole is an important part of the PHP ecosystem. But now, > Fiber cannot work with Swoole. And based on the above reasons, Swoole will > not consider compatible fiber. > > We would expect some

Re: [PHP-DEV] [VOTE] Fibers

2021-03-10 Thread 韩天峰
Hi everyone: My name is Tianfeng.Han, I am founder of Swoole project. We have done a lot of exploration in cli server side programming of php.
 I think, ext-fiber is more suitable as a PECL project. Coroutine and asynchronous IO is a new concurrency model, This is very different from

Re: [PHP-DEV] [VOTE] Fibers

2021-03-09 Thread twosee
> 2021年3月10日 上午2:58,Aaron Piotrowski 写道: > > >> On Mar 8, 2021, at 1:40 PM, Aaron Piotrowski wrote: >> >> Greetings everyone! >> >> The vote has started on the fiber RFC: https://wiki.php.net/rfc/fibers >> >> >> Voting will run through March 22nd. >> >>

Re: [PHP-DEV] [VOTE] Fibers

2021-03-09 Thread Aaron Piotrowski
> On Mar 8, 2021, at 1:40 PM, Aaron Piotrowski wrote: > > Greetings everyone! > > The vote has started on the fiber RFC: https://wiki.php.net/rfc/fibers > > > Voting will run through March 22nd. > > Cheers, > Aaron Piotrowski Hi all! A concern was raised

Re: [PHP-DEV] [VOTE] Fibers

2021-03-08 Thread Peter Stalman
Here we go again! Looking at you, attributes syntax. Seriously though, any of `this`, `active`, `current`, or even `Fiber::self` are fine with me. You might have the same issue with that last one. Thanks, Peter On Mon., Mar. 8, 2021, 14:57 Larry Garfield, wrote: > On Mon, Mar 8, 2021, at

Re: [PHP-DEV] [VOTE] Fibers

2021-03-08 Thread Larry Garfield
On Mon, Mar 8, 2021, at 1:40 PM, Aaron Piotrowski wrote: > Greetings everyone! > > The vote has started on the fiber RFC: https://wiki.php.net/rfc/fibers > > > Voting will run through March 22nd. > > Cheers, > Aaron Piotrowski This is vastly improved from the

[PHP-DEV] [VOTE] Fibers

2021-03-08 Thread Aaron Piotrowski
Greetings everyone! The vote has started on the fiber RFC: https://wiki.php.net/rfc/fibers Voting will run through March 22nd. Cheers, Aaron Piotrowski