Greatly increase support for GPU programming in C#
-Support GPU programming in C# -both general and graphical- on at least equal level with C++. On every Microsoft platform.
-Design the future versions (or successor) of DirectX with C# in mind.
10 comments
-
Anon
commented
Use SharpDX, I have been using it for almost 18 months and it is great, it gets updated frequently and the support / performance is great, if you actually look at Win8 development (although SharpDX can be used with XP / 7 depending on DX version you want to support) MS do in fact recommend using it.
It is also opensource and free, maybe MS could help with advertising. Oh and SharpDX is also available via NuGet
-
Farhan Khan commented
hi
-
Gavin Williams
commented
Both SlimDX and SharpDX provide the ability to use DirectX from C#, they are both excellent wrappers. I noticed SharpDX was mentioned at Build. But Microsoft needs to accept that people want to program in C# and have full access to DirectX. So either provide an ongoing managed wrapper, that is maintained with DirectX or provide some support for these independent projects. They do need support. And why not encourage people to use those wrappers ? Instead of telling people that C++ is how games should be made on Windows now, because a lot of people don't want to program in C++.
-
Ken
commented
I believe WPF has GPU support for the GUI.
What else is needed? -
Tom
commented
Please give us DirectX in C# on Windows 8, Metro and on Windows Phone 7.8, 8.0!
-
antongoreb
commented
Nowadays c# programming are very popular especailly unity3d etc.. Lot of free resources http://csharp.net-informations.com available on net for new comerce. Also in the job market c# is highly demended language now.
Anton.
-
Tom Spilman
commented
Anyone that wants DirectX in C# should just go grab SharpDX (http://www.sharpdx.org). It is an excellently thin C# wrapper around DirectX.
If you want XNA in Metro then go look at MonoGame (http://monogame.codeplex.com) which current has Metro support working in a development branch.
While it would be nice for MS to provide an official DirectX binding for C#... it isn't necessary.
-
Miha Markic
commented
freefallr, you know, everything is possible even with a Turing machine. However, it doesn't mean it can't be done easier. Thus I fully agree with OP that it is a shame that MS is steering .net away from DirectX and GPUs. Once there was a Managed DirectX, then it was a semi official Windows API Code Pack and now there is nothing left (apart from 3rd party libraries of course).
-
freefallr
commented
If you want to utilize the GPU, then you'll need to learn to write shaders. Shaders have evolved from asm like language into C like languages. But they're not part of C++, they never have been.
Their difficulty lies in the need to know _a lot_ of theory to get the best from them.
C++ has no monopoly on invoking shaders. I've managed to avoid the managed languages up to now, but I assume that you can load libraries and execute functions contained therein, and I know you can use COM from C# (I've created COM objects for C# developers before).
In order to execute shaders, you do so through OpenGL or DirectX. So utilize those APIs and stop complaining.
-
Robert Dyball
commented
Ideally have it support different graphics cards - both AMD + nVidia, not be specific to one platform.