Anyone know of a good language that can run with 2 processors? I've heard of stacking Python as a way to do it, but is there anything else? Is C# able to do such a thing?
Name:
Anonymous2006-12-12 2:19
Multi-threading isn't a language feature unless you are specifically using a parallel language like Fortran 90, C*, etc. You probably want a library or compiler extension for a language you already know and use, for example pthreads in C/C++, the Thread class in Java, etc. The best option also depends on what you are trying to do, for example OpenMP if you are doing the same operation over an entire array and you just want to exploit parallelism, or pthreads if you want to custom code the behavior of each thread.