On Jun 3, 2008, at 11:20 AM, Peter K. Stys wrote:
> On Sat, May 31, 2008 at 9:18 PM, dda <headspin@gmail.com> wrote:
>
>> "multi-processor" and "shared" in the same sentence is a recipe for
>> pain and disaster. Erlang avoids this by sharing nothing, and instead
>> sending data ["messages"] between processes. Using IPC sockets and
>> sending messages, àla Erlang, will eliminate the need to implement
>> locks and save a lot of hair.
>>
>
>
> but what if you have large datasets to process, a frequent reason
> for doing
> MP in the first place? Passing the data back and forth may negate the
> benefits of having several processors chew on the data in parallel.
That's right, and it's part of the analysis when deciding whether to
parallelize a computation.
Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|