4 ms·
Love what they've been doing on PHP lately :) > However, this in fact opens the door on things such as machine learning, 3d rendering, 2d (gui) rendering, and
by kuroguro 8y ago
Love what they've been doing on PHP lately :)
> However, this in fact opens the door on things such as machine learning, 3d rendering, 2d (gui) rendering, and data analysis, to name just a few.
Shouldn't we get decent threading built in before we consider most of those? I've hit that wall many times when processing larger amounts of data w/ php scripts. I know about the pthreads plugin but nothing beats a first class citizen like goroutines for go or similar.
- beberlei 8y agoJoe (the author of this post and pthreads extension) has been working on a new threading extension in the last months that looks extremely promising and more along the lines of goroutines than Java style threading: - https://github.com/krakjoe/parallel https://github.com/krakjoe/parallel - https://blog.krakjoe.ninja/2019/02/parallel-php-next-chapter.html https://blog.krakjoe.ninja/2019/02/parallel-php-next-chapter...
- EB66 8y agoWow, that looks incredible. Thank you for linking it.
- no_wizard 8y agoI agree. PHP needs 1st party support for proper threading and asynchronous programming. This would speed up applications more than a JIT would for most. Though I’m very pleased that this made it to PHP 8