Hacker News new | ask | show | jobs
by kangoo1707 2237 days ago
still, no proper multithreading, in comparison with Java, C#, Elixir...
1 comments

Define proper please.
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
> 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

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
Not being a BEAM language is not unique to PHP or it's relevant peer languages.
"No true Scotsman," I'd wager.