Concurrent computing: Difference between revisions

→‎{{header|Perl 6}}: pugs (!) example out-dated
(Add Neko)
(→‎{{header|Perl 6}}: pugs (!) example out-dated)
Line 1,321:
 
=={{header|Perl 6}}==
{{works with|pugsRakudo|2018.9}}
 
{{works with|pugs}}
 
Hyper-operators are unordered:
<lang perl6>my @words = <Enjoy Rosetta Code>;
@words».race(:batch(1)).map: { sleep rand; say $_ };</lang>
{{out}}
Output:
<pre>Code
<lang>Rosetta
Code
Enjoy</langpre>
 
=={{header|Phix}}==
2,392

edits