async-interop / event-loop

An event loop interface for interoperability in PHP.
MIT License
170 stars 9 forks source link

Project status #156

Open bartvanhoutte opened 4 years ago

bartvanhoutte commented 4 years ago

Hello everybody,

I've been doing quite a bit of asynchronous PHP lately, and we could really benefit from more interoperability between ReactPHP and Amp. It looks like a lot of work is being done in both ecospheres while it seems more logical to bundle that development time.

According to the homepage of this repository, the project should be considered a failure. I'm wondering what the reasons for that were and if they still apply today? Maybe it's time to give this another go?

Cheers

kelunik commented 4 years ago

Hey @bartvanhoutte,

ReactPHP and Amp are interoperable via amphp/react-adapter now. As stated in the README, the API proposed here has been the base for Amp v2.x.

I'm wondering what the reasons for that were and if they still apply today?

I guess the reasons were mostly two different approaches regarding the API and neither party being fine with the API of the other.

bartvanhoutte commented 4 years ago

Hey @kelunik,

I saw the adapter but it unless I'm mistaken it does not work the other way round?

Ok, sad to hear there wasn't enough common ground to continue.

kelunik commented 4 years ago

Yes, it doesn't, but if you're building an application, it shouldn't matter.