G
Guest
Does anybody know if there are plans to add improved support for multi-core
processors in VB? It is easy to launch a process on a new thread in VB, but
in a real world application it can take a considerable effort to manage the
threads. For example, if you are looping through a 1000x1000 array, then it
would be nice to run each row on its own thread. But, you don't want to
create 1000 threads because doing so will dramatically reduce performance.
So, in order to be optimized, you would need to add a considerable amount of
code so that only one thread per CPU executes at a time. It seems to me that
something like OpenMP would be an ideal solution. VB is all about making
things easy and OpenMP is all about making multithreading easy (or at least
easier). Sounds like a good match to me.
Thanks for any feedback.
Lance
processors in VB? It is easy to launch a process on a new thread in VB, but
in a real world application it can take a considerable effort to manage the
threads. For example, if you are looping through a 1000x1000 array, then it
would be nice to run each row on its own thread. But, you don't want to
create 1000 threads because doing so will dramatically reduce performance.
So, in order to be optimized, you would need to add a considerable amount of
code so that only one thread per CPU executes at a time. It seems to me that
something like OpenMP would be an ideal solution. VB is all about making
things easy and OpenMP is all about making multithreading easy (or at least
easier). Sounds like a good match to me.
Thanks for any feedback.
Lance