Jump to content

Squadcast Summary (2016/01/28) - What's not in 1.1 edition


MiniMatt

Recommended Posts

  On 2/3/2016 at 2:57 PM, BloodDusk said:

If you don't have an nVidia GPU, PhysX will do all the calculations on your CPU.

Expand  

Unity doesn't use the CUDA branch of PhysX, calculations are done on the CPU regardless of your GPU brand.

Unity has said they would like to support the APEX framework for OpenCL compliant extensions eventually, but the feature remains unscheduled on their roadmap.

  On 2/3/2016 at 2:57 PM, BloodDusk said:

PhysX was never meant to take advantage of multiple CPUs/cores

Expand  

The CPU branch of PhysX 3.x was developed for multiple cores (which is why its natively multithreading) and with SIMD support

Link to comment
Share on other sites

  On 2/4/2016 at 12:21 AM, NoMrBond said:

Unity has said they would like to support the APEX framework for OpenCL compliant extensions eventually, but the feature remains unscheduled on their roadmap.

Expand  

But of course. They wouldn't want their nVidia sponsorship pulled out, would they?

  On 2/4/2016 at 12:21 AM, NoMrBond said:

The CPU branch of PhysX 3.x was developed for multiple cores (which is why its natively multithreading) and with SIMD support

Expand  

While that is indeed true, that doesn't magically give your code multithread support. You have to implement it in your game. And this tends to be a pain on VM based languages, like the ones Unity supports and uses.

Link to comment
Share on other sites

  On 2/4/2016 at 4:00 AM, BloodDusk said:

But of course. They wouldn't want their nVidia sponsorship pulled out, would they?

While that is indeed true, that doesn't magically give your code multithread support. You have to implement it in your game. And this tends to be a pain on VM based languages, like the ones Unity supports and uses.

Expand  

Multithreading is oh-so-much-easier in VM languages, compared to something like C++. .NET makes it especially easy, what with things like async/await and the TPL.

Link to comment
Share on other sites

  On 2/5/2016 at 12:10 AM, godefroi said:

Multithreading is oh-so-much-easier in VM languages, compared to something like C++. .NET makes it especially easy, what with things like async/await and the TPL.

Expand  

Absolutely. I have some experience multithreading very simple applications in VB .NET, and the compiler enforces strict rules to keep you thread safe.

Link to comment
Share on other sites

  On 2/5/2016 at 12:10 AM, godefroi said:

Multithreading is oh-so-much-easier in VM languages, compared to something like C++. .NET makes it especially easy, what with things like async/await and the TPL.

Expand  

Unless you have the dreaded GIL. Plus, KSP would probably not be mod friendly if it had asynchronous  stuff in it.

 

  On 2/5/2016 at 3:07 AM, Xavven said:

Absolutely. I have some experience multithreading very simple applications in VB .NET, and the compiler enforces strict rules to keep you thread safe.

Expand  

KSP is in C# (probably). Different language altogether.

Link to comment
Share on other sites

  On 2/6/2016 at 2:06 AM, BloodDusk said:

KSP is in C# (probably). Different language altogether.

Expand  

KSP is in C# since it runs off of Unity.

C# and VB have different syntax but both use the .NET framework. They're like the fraternal twins of the programming world. That's why you see so many technet articles give examples in both C# and VB for any given object. Heck, here's an example of the backgroundworker class, which is a great tool for new programmers getting into light multithreading quickly and easily. Notice the example has C# and VB tabs and how similar they are https://technet.microsoft.com/en-us/library/h01xszh2%28v=vs.110%29.aspx

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...