News for hackers. Stuff that matters.
Re:Exploring Coroutines in PHP by alganet on Tuesday July 08, 2025 @12:15PM (#44501438)
The shared-nothing architecture is great for some scenarios.

Long running processes and async I/O are a great tool to have though. They are present in PHP for almost two decades now, and despite having many incarnations (select(), libevent, etc) and even frameworks (amp, reactphp, etc) the knowledge is highly transferrable between them if you understand the fundamentals.

Re:Exploring Coroutines in PHP by bornfreddy on Tuesday July 08, 2025 @02:33PM (#44502716)
I agree, but I would always pick a different language (like Go) for long running processes. PHP is great for shared-nothing apps though.
Re:Exploring Coroutines in PHP by alganet on Tuesday July 08, 2025 @02:54PM (#44502890)
Don't worry, we're not comparing languages here. You are free to chose the language and community that fits best to your approach to software development.
Re:Exploring Coroutines in PHP by bornfreddy on Tuesday July 08, 2025 @06:09PM (#44504500)
Why, thank you for your generosity, you are too kind!