Volatility: it's not just for sublimation any more

edit Posted by Adam Milligan on Sunday November 16, 2008 at 09:07PM

Multithreaded programming was a hot topic at RubyConf this year, and a common theme in many talks was the use of functional languages to prevent contention between threads. This totally makes sense to me, to the limited extent that I can wrap my head around truly functional programming, and I'm sure it's an excellent approach. However, imagine a case in which we can't just drop in a new language, so we need to write some multithreaded code in Ruby. I'm sure you won't have to think too long or hard.