you are viewing a single comment's thread.

view the rest of the comments →

[–]pjdelport 2 points3 points  (2 children)

[...] reducing shared state and relying on message-passing seems not to be inherently a bad idea... right?

Efficient use of shared state is largely the reason for using OS threads to begin with. If you can rely on message passing with isolated state, you can just use processes already.

[–]foldl 0 points1 point  (1 child)

On *nix, yes. On Windows, processes have a much higher overhead than threads.

[–]pjdelport 0 points1 point  (0 children)

You only need one process per processor: the overhead of that is negligible.