Jump to content
  • Advertisement

Archived

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

Anarchi

Is C# better for games?

This topic is 6084 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

1) what is C# dedicated to? 2) Is it more similar to Java or C++? 3) Would C# be able to make games as good as a game programmed in C++? 4) Is M$ trying to get rid of C++ in place of C#?

Downloads, D3DXSprite tutorial, New platform game: .-= The ZeroOne Realm =-.

Share this post


Link to post
Share on other sites
Advertisement
Doh, I tried searching but I recieved this error 3 times:


Microsoft OLE DB Provider for SQL Server error ''80040e14''
The query contained only ignored words.
/community/forums/search.asp, line 79


(I searched for ''C#'' and ''C flat'' within Game Programming)

Downloads, D3DXSprite tutorial, New platform game: .-= The ZeroOne Realm =-.

Share this post


Link to post
Share on other sites
I think you meant C-sharp, though C-flat seems a much more fitting name to me =)

just so ya know, -flat is symbolized by the little b looking thing after the note, sharp is #

-noh

Share this post


Link to post
Share on other sites
C# is a Microsoft''s Java.
Java is used mostly for business network applications.
And so C# - just as Java - is not very usable for games coz it''s slow and doesnt allow to access hardware directly.

Share this post


Link to post
Share on other sites
Obviously, you know nothing about music or you''ve never heard the language name correctly pronounced or spelled. It is C Sharp.

Share this post


Link to post
Share on other sites
There is a point here though - C# and .NET are both very hostile to search engines. Not even the one on MSDN handles them very well.

quote:
Meduzza
And so C# - just as Java - is not very usable for games coz it''s slow and doesnt allow to access hardware directly.


No modern operating system lets you access hardware directly, so the point is moot. C#/.NET has an edge over Java through a more seamless interop mechanism with existing technologies. While Java tends to be an all or nothing solution(Java Java über alles), C# makes it a lot easier to use existing C or COM API''s.

As I have mentioned earlier in other threads - there will be a managed wrapper in DX9, allowing .NET apps to use DirectX. You can presently use the existing VB interfaces through COM interop, or make your own wrapper in Managed C++. There is also an OpenGL wrapper for C#/.NET at csgl.sourceforge.net

The world holds two classes of men -- intelligent men without religion, and religious men without intelligence. Abu''l-Ala-Al-Ma''arri (973-1057; Syrian poet)

Share this post


Link to post
Share on other sites
C# was made with the purpose of giving Microsoft some ground on yet another industry. Same goes with MSN to AOL, and Xbox to PS2. Microsoft wants to dominate every aspect of technology. C# and Java is an example of the same thing. Microsoft is very compeditive, and they cringe at the prospect of letting any aspect of technology being dominated by another company.

By the way, I'm a total Microsoft fan. I would die without my Xbox, Windows, and Visual C++. Just stating truth is all.

EDIT: Some gramatical errors

Edited by - Johnny_W on February 17, 2002 6:29:00 PM

Share this post


Link to post
Share on other sites
Its funny how people bash C# based soley on the fact that Microsoft created it. I hate Microsoft for many things, but C# is definitly not one of them. In responce to its speed: Yes, C# is interpreted similarly to Java which makes it slow. HOWEVER the interpreted code is compiled while being interpreted so it is faster on the second execution. Whats great about this is that while the game or whatever other application would run slow for a few minutes or every time a new block of code is executed, the second time though (and the next time you run it) the code has been optimized with the current system in mind and in effect could actually run faster than C++ because of the automatic configuration-dependant optimazations. Also you can configure the Microsoft Installer to compile it when installing, this will slow down installation however the app will run fast the first time. If the system configuration or settings change the code is automaticly recompiled to ensure optimal performance. Not to mention the language has a ton of awsome features and the .NET Base Classes are very very good.

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!