Re: Analogue of Node.js Worker threads?
| From: | Edmond Dantes | Date: | Sat, 10 Jan 2026 10:56:25 +0000 |
| Subject: | Re: Analogue of Node.js Worker threads? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-129747@lists.php.net to get a copy of this message | ||
Hello, Pavel.
PHP has the Parallel library, which already allows you to do quite a lot.
But you probably already know about it. From the multithreading
perspective, there is also the following research:
https://github.com/true-async/multithreaded-php/blob/main/mm-en.md
https://github.com/true-async/multithreaded-php/blob/main/mm-ru.md
This article discusses a direct analogue of the architecture used in Node.js.
I hope that this year we will be able to move TrueAsync forward, and
along with it possibly introduce convenient multithreading as well.