Linked by Thom Holwerda on Sun 9th Sep 2007 18:08 UTC, submitted by koki
BeOS & Derivatives "The primary intention of my previous article was to make it very clear why and when locking is needed in multithreaded applications. In this article, I want to present my experiences in writing a new prototype for a replacement of the document model in WonderBrush and how it is manipulated and rendered asynchronously."
Permalink for comment 269929
To read all comments associated with this story, please click here.
Writing multithreaded applications in C++
by tuttle on Mon 10th Sep 2007 08:44 UTC
tuttle
Member since:
2006-03-01

...is like pulling teeth. Many BeOS applications were full of multithreading bugs. They always kind of worked, but were never really stable.

Modern languages like scala make writing multithreaded apps much easier. Scala has a very powerful message passing library (actors) that is somewhat similar to the erlang approach. The pattern matching of scala makes writing message handlers extremely pleasant.

http://lamp.epfl.ch/~phaller/doc/ActorsTutorial.html

Reply Score: 1