Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Vampir

C# and DX 8.1

This topic is 5929 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m thinking to learn C#. Are there any problems or restrictions to use DX at C#. Is C# slower than C++. Hope someone can help me.

Share this post


Link to post
Share on other sites
Advertisement
Well, for starters, DirectX 8.1 support for C# and VB.NET is broken and many things don''t work right. Best bet would be to wait for DirectX 9 which will have full support for C#.NET and VB.NET. This should be out in November-ish.

Share this post


Link to post
Share on other sites
You can access DirectX from C# but currently it involves creating or obtaining a 3rd party managed wrapper around the DirectX APIs you want to use.

DirectX 9 will have full native C# support if you can wait a few months.

C# is slower than C++, no doubt about it, but it is fast enough for a wide variety of games, especially if DX is doing all the heavy lifting in a hardware-accelerated fashion.

Share this post


Link to post
Share on other sites
I haven''t used any of the existing wrappers personally (I''ve only used C# for WinForms and some GDI+, I primarily program in C++), so I can''t make any specific recommendations but I know people have been working on these for their own use and some distribute their code for free.

A quick google search turned up this site:

http://sunlightd.virtualave.net/Windows/DirectX.NET/

Which looks to be a good starting point.

Share this post


Link to post
Share on other sites
Just FYI: Tim Sweeney recently started this thread on microsoft.public.dotnet.languages.csharp: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&safe=off&th=9e460068ff5d4080&seekm=ahkkeb%244kc%241%40spock.peak.org&frame=off


"The churches used to win their arguments against atheism, agnosticism, and other burning issues by burning the ismists, which is fine proof that there is a devil but hardly evidence that there is a God."
Ben Lindsey and Wainwright Evans

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!