Is there any advantage to using C++ instead of C# when using Direct3D? -


is there advantage using c++ instead of c# when using direct3d? tutorials i've found c++ , directx use direct3d (which knowledge managed). similarly, of c# tutorials i've found direct3d.

is direct3d managed? there difference between using d3d in either of 2 languages?

directx entirely native. impression may have it's managed , utterly wrong. there managed wrappers allow use directx managed code. in addition, directx programmed accessed c++ or c, or similar languages. if @ slimdx project, encountered numerous issues, due resource collection, because c# doesn't genuinely support non-memory resources being automatically collected , using doesn't cut mustard. in addition, game programming can cpu-intensive, , often, additional performance lost using managed language untenable, , virtually existing supporting libraries c or c++.

if want make small game, or that, there's nothing @ stopping using managed code. however, know of no commercial games take route.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -