what is faster? managed/unmanaged

I'm a student and just started wih DircetX. And I just wonder, what is better to start with. MY friends says , that managed DircetX is much slowler, but unmanaged is harder to use... I can use C++,c# or VB, so what is better to programming games

Answer this question

what is faster? managed/unmanaged

  • Charger

    As managed DX is layered over unmanaged DX it needs more CPU cycles. But this is only a small amount. If your GPU is the limiting factor you will see no difference between managed and unmanaged DX.

    You can write games with both and as the base concepts are the same it is not to hard to switch from one to the other. In my personnel opinion the managed version is easier to learn but it will depend on your favorite language, too.



  • Execbask1

    I'd have to support David and Ralf's replies. Choose the language you are best comfortable with.
    It's the best choice you can make.


  • matthew4oz

    "much slower"   I'm guessing your friends have either a) written bad code or b) haven't truly measured the performance.
     
    The best advice is: Use the language you're the most comfortable with.  There's a TON of stuff around DirectX that you need to learn, so anything you can do to minimize the amount of "language interference" is going to help you the most.
     
    In the long run, you will most likely learn how to write both managed and native DirectX code.  Once you understand all the DirectX concepts, switching back and forth is easy.


  • Lata

    Thanks for answares, then I will start with managed DX.
  • what is faster? managed/unmanaged