Well, what I plan to try out isn't the only way, and probably not the best, but I think it's a baby step in the right direction. As Andreas pointed out, there are other solutions that may even be better from a high level point of view (message passing still requires careful design).
I really believe shared state concurrency with fine grained locking can't scale much further then it already has. And I'm by no means the only one. Here is another thread on the matter:
http://lambda-the-ultimate.org/node/2048
On 10/27/07, Peter William Lount peter@smalltalk.org wrote:
Jason Johnson wrote: On 10/26/07, Peter William Lount peter@smalltalk.org wrote:
You're plan sounds excellent. Thank you for taking up the task of making Squeak VM multi-threaded with native threads!
Yes, thanks. I will need a true mult-threaded VM at some point as well. I just have to make it transparent to the processes running in the VM. :)
Hi,
I really do like the notion of easy multi threading - really. I've admired Erlang for what it's achieved in that regard for years now. I encourage everyone interested in that to keep persevering and searching for a practical way forward towards your vision.
All the best,
Peter