When is “race” worthwhile in Perl 6? Languages

When is “race” worthwhile in Perl 6?

race divides operations on an iterable automatically into threads. For instance,would automatically divide the sum of the 2000-long array into 4 threads. However, benchmarks show that this is much slower than if race were not employed. This happens even if you make the array bigger. This happens even as the...
Read More
perl6 grep like program in parallel Languages

perl6 grep like program in parallel

I wrote a grep-like program in perl6, and now I made it into parallel processing. But I ran into some problem: even with the same command line the program sometimes succeeds, and sometimes fails. When it succeeds, things looks just normal to me. When it fails, I don't know why...
Read More