PDA

View Full Version : Multithreading paradigms for the future??



Ansible
January 9th, 2007, 08:38 PM
So, I was checking out this OpenMP thing, which is a specification for some macros or the like that help with multithreading in C++. Here's a link:

http://www.openmp.org/drupal/

Its just a spec, I don't know of a free implementation, although there may be one. Its a bit old too, from '99. Of course, C++ is old too.

Anyway, the trend toward multiple cores in new processors has me wondering what is out there as far as helpful libs, languages, etc for taking advantage of all that power? I've done a bit of multithreaded code myself, and I know firsthand how painful it can be. What's out there to make my life easier?

pmasiar
January 9th, 2007, 08:49 PM
Never used in myself, but they say Erlang (http://en.wikipedia.org/wiki/Erlang_programming_language) is a concurrent programming language done right.

Another, even better and faster way might be parallel Forth (http://www.ultratechnology.com/4thpar.html)

Ansible
January 10th, 2007, 01:35 AM
Cool, haven't heard of parallel forth before....