wyrd Posted June 26, 2003 Posted June 26, 2003 wyrd: 6. Hmm.. really? Those results are indeed quite interesting then. Well since calculations seem to be in order, it's just a question of how good the DirectX managed classes are compared to what C++ uses. Anyone have some insight on that? Quote Gamer extraordinaire. Programmer wannabe.
*Gurus* divil Posted June 26, 2003 *Gurus* Posted June 26, 2003 They can be faster, for the same reason as the test I ran was faster. I don't know of anyone who has actually used managed DX9 in a large scale project so I don't know how well it scales. I know some of the guys who were on the managed dx9 team and they speak very highly of it. I know that managed dx9 is not a wrapper for anything, it's a core part of directx. That surely gains it some speed. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
wyrd Posted June 26, 2003 Posted June 26, 2003 They can be faster, for the same reason as the test I ran was faster. I don't know of anyone who has actually used managed DX9 in a large scale project so I don't know how well it scales. I know some of the guys who were on the managed dx9 team and they speak very highly of it. I know that managed dx9 is not a wrapper for anything, it's a core part of directx. That surely gains it some speed. - People always speak highly of their own projects, regardless of it's really bad or not. - Managed DX9 isn't a wrapper?! I was always under the impression that it was. That's interesting... Quote Gamer extraordinaire. Programmer wannabe.
AndreRyan Posted June 27, 2003 Posted June 27, 2003 Just in response to an earlier post. .Net apps can have the source viewed using Ildasm but you can revert C++ (Unmanaged) Apps to their original source JIT compiles as it runs and uses special processor features, as Divil said. .Net apps look bigger in RAM because they don't clean up until they have to and have a slower startup speed because the JIT needs to compile the code but once its compiled after its first use then .Net code should be slightly faster, as shown in the test. Quote .Net allows software to be written for any version of Windows and not break like Unmanaged applications unless using Unmanaged procedures like APIs. If your program uses large amounts of memory but releases it when something else needs it, then what's the problem?
ThePentiumGuy Posted July 3, 2003 Posted July 3, 2003 wyrd: 6. ?? what do u mean by "6"? Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
ThePentiumGuy Posted July 3, 2003 Posted July 3, 2003 To satisfy my conscience for saying this, I just created two tests - one with C++ and one with C#. In the test I run a loop 2 billion times, each iteration increasing another integer's value by one. I turn off optimizations (which would stop such a pointless loop from running at all) and these are the results: C++: 10.405 seconds C#: 10.044 seconds And they say JIT compiled code is slow. what difference is .361 seconds gonna make, wernt we saying C++ is faster than C#? doesnt this turn this around(it shows that C++ took 10.405 seconds... anyway, i think that .NET is the way to go, and will go fast(if you know how to use it) btw, this is a random question, but how can i turn off case sensitivity in C#? ok.. i dont mean like, int myVar is the same as int myVAr.. i mean they are the same, but i mean how can u make it "Automatically" fix the case sensitive errors like in VB ? is there another program that will enable you to do that..? btw, would u consider Borland C++, "raw" c++? im not sure about this stuff.. and also, i heard that borland C++ automatically fixes case sensitive errors, is this true?? Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
*Experts* Nerseus Posted July 3, 2003 *Experts* Posted July 3, 2003 There is no way to turn off case-sensitivity in C#. To automatically correct (or mostly automatically), you can press Ctrl-Space anywhere on your variable. If it finds only one match, it will case it for you. If it finds more than one, it will give you a list of matches. It's also useful for completing a long variable or function name (in VB and C#). For instance, if you have a function named MySuperGroovyFunctionName, you can type "mysu" and then press Ctrl-Space to complete it for you. Note that you don't have to type the first part in the right case (MySu), you can leave it all lower if you want. If Ctrl-Space is too awkward, change it through the Tools-Options-Keyboard settings. As for the original question, I change my answer. I choose C# as the best game programming language. Keep in mind I'm hugely biased since it's what I know and why would I choose a language I don't know enough about? And you think I trust the C/C++ programmers that there's is faster? Then you have to debate with the ASM programmers (who type a because it's shorter). -nerseus Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
*Gurus* divil Posted July 3, 2003 *Gurus* Posted July 3, 2003 ?? what do u mean by "6"? If you had read the post above mine that I was (obviously) replying to, you would have understood. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
ThePentiumGuy Posted July 3, 2003 Posted July 3, 2003 oh lol, i didn't see the thing above wyrd's post, sorry Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.