> Again, take a look at how nicely golang handles concurrency with colorless 
> functions: php fibers weren't the first to do it.

Also, a colored functions approach for php would make a future thread-based 
concurrency approach completely non-viable, because it would require marking 
ALL functions (not just IO-bound functions, CPU-bound ones as well) as async 
and forcing the use of await for ALL function calls, just to be able to 
sometimes use some functions in parallel (in separate threads).

Colored functions completely preclude a possible future thread-based 
implementation of concurrency.

Regards,
Daniil Gentili.

Reply via email to