Nowadays, all personal computer and workstations come with multiple cores. Most .NET applications fail to harness the full potential of this computing power. Even when developers attempt to do so, it is generally be means of writing low level manipulation of threads and locks. This often leads to a situation, where the code becomes either un-readable or full of potential threats. These threats are often not detected if running on a single Core machine.
The task parallel library allows you to write code which is human readable, less error prone, and adjusts itself with the number of Cores available. So you can be sure that your software would auto-upgrade itself with the upgrading environment.
Multi core programming using Task Parallel Library with .NET 4.0 - CodeProject®
No comments:
Post a Comment