Re:What's all this fuss about Erlang? (2007)
by brightball on Wednesday January 25, 2017 @06:22AM
(#13480515)
My understanding is that those languages rely on cooperative scheduling within a thread, meaning that the running code has to relinquish control to the scheduler. Threads themselves are prescheduled at the OS layer but OS threads are much heavier and limited in how many can be running. A Java thread is 1024kb for example, compared to an Erlang process that's 0.5kb.
[ Parent
| on HN ]
Re:What's all this fuss about Erlang? (2007)
by BeetleB on Wednesday January 25, 2017 @10:18AM
(#13482050)
>My understanding is that those languages rely on cooperative scheduling within a thread
MPI doesn't require threads.
I think people here are confusing parallel programming with multithreaded programming. One is a subset of the other.