Parallel calculations: Difference between revisions

(→‎{{header|Perl 6}}: Add the missing helper functions.)
Line 1,432:
 
Beside <tt>RaceSeq</tt> and its in order equivalent <tt>HyperSeq</tt>, [[Rakudo]] supports primitive threads, locks and highlevel promises. Using channels and supplies values can be move threadsafe from one thread to another. A react-block can be used as a central hub for message passing.
 
In [[Perl 6]] most errors are bottled up <tt>Exceptions</tt> inside <tt>Failure</tt> objects that remember where they are created and thrown when used. This is useful to pass errors from one thread to another without losing file and linennumber of the source file that caused the error.
 
In the future hyper operators, junctions and feeds will be candidates for autothreading.
Anonymous user