[stack] Parallel evaluation

"Ruurd" <[email protected]> Sun, 23 May 2010 09:00:21 -0000
Newsgroups gmane.comp.lang.concatenative
Message-ID <[email protected]>
Joy is tree-structured. Also, the only thing that is usually needed to change a sequential program into a parallel evaluated program is to change map into pmap.
As an example, look at Manfred's question about the quadratic formula in message #2176 and his answer in message #2228. His solution uses the ternary combinator to compute three subexpressions. These expressions can in theory be computed in parallel.
When I thought about parallel evaluation, because computations can be done while the program is waiting for I/O to finish, I was advised not to use parallel evaluation for that purpose. It would be simpler to use non-blocking I/O functions.
When thinking about a parallel language out of the many languages that claim to be parallel the only language that makes any sense is Erlang. Now that desktop processors are multicore, there is a lot of interest in a good parallel language with a nice and familiar syntax that is acceptable for mainstream programmers.

--- In [email protected], "William Tanksley, Jr" > No. The parallel evaluation laws don't apply because concatenative
> languages are not tree-structured.