Re:A look at modern PHP
by kangoo1707 on Tuesday May 05, 2020 @09:48AM
(#23079963)
No native support for concurrency operators, no real event loop implementation, lack built-in support for non-blocking IO...
I do Elixir regularly and Actor Model is not something PHP developers know
[ Parent
| on HN ]
> I do Elixir regularly and Actor Model is not something PHP developers know
/me clutches pearls
What a travesty! I wish, I, a lowly, stupid PHP developer was smart enough to know about the Actor model!
/s
Re:A look at modern PHP
by Eremotherium on Tuesday May 05, 2020 @01:09PM
(#23082280)
Look into ReactPHP, Swoole and Spatie
Is this just a long way of saying it doesn’t have “async” because threads are a perfectly fine concurrency primitive that you can build event loops on top of.
There is async in PHP