Danesh Daroui wrote:
Thanks for the info. I thought Pike would run all threads simultaneously when number of threads does not exceed number of available processors and otherwise using time sharing like other languages.
Well, most popular interpreter-based languages have the same problem as Pike: they do not use more than one CPU core per process (e.g. Perl, Python, Ruby, Javascript).
Martin Sjternholm has played with some techniques which allow true concurrency even in an interpreted environment, but since he has been assimilated by Google (Martin, are you reading this? :-), no progress in that direction has been made (at least not for Pike).