Will Farseer use the Task Parallel Library in its core?

Topics: Developer Forum, Project Management Forum, User Forum
Nov 3, 2010 at 6:01 PM

Now that this was voted on and approved: http://farseerphysics.codeplex.com/Thread/View.aspx?ThreadId=222619 Will Farseer physics in a later release implement the Task Parallel Library in its core? Or give examples on how to use it (i.e. a multithreaded example)?

 

Thanks,

SomethingNew

Coordinator
Nov 3, 2010 at 9:43 PM

For a high performance physics engine, it is difficult to implement multithreading. The overhead of multithreading is simply too big to speed up the operations. However, we have had some work on separating islands into different threads (Matthew had a look at that) and I've also looked into solving multiple contacts at once. I will take a look at this again later this week - I'll try to work up a sample that utilizes multithreading using TPL.