Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / DGDK.Net Vs. DGDK

Author
Message
Hypno Screen
18
Years of Service
User Offline
Joined: 21st Sep 2006
Location:
Posted: 21st Sep 2006 14:55
First of all I want to say that there is no way I will go with DGDK when the .Net version will come out soon. C# is so much more fun to code then C++, I never want to go back!

Here's my question: From the DGDK website I can see that the DGDK is 0.5% - 107% faster then DBP (with an average of 31%). Where will the DGDK.Net be speedwise?

http://www.hypnoscreen.com
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 21st Sep 2006 15:23
my guess would be somewhere between dgdk and dbp but probably right around the same as dgdk. i'm not sure apex has done comparisons yet.

Hypno Screen
18
Years of Service
User Offline
Joined: 21st Sep 2006
Location:
Posted: 21st Sep 2006 15:53
I just read all 8 sites from the pinned thread and that DGDK.net is a .Net wrapper for DGDK. The overhead shouldn't be too much, I guess it will be the same speed or even a bit faster because of the JIT.

http://www.hypnoscreen.com
Miguel Melo
19
Years of Service
User Offline
Joined: 8th Aug 2005
Location:
Posted: 21st Sep 2006 17:17
Quote: "I guess it will be the same speed or even a bit faster because of the JIT"


Not sure this assertion makes any sense...

I have vague plans for World Domination
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 21st Sep 2006 17:26
I have found that the general performance of the DGDK.NET toolkit, is fast, but it also boils down to efficient use of the .NET framework itself. For example, using Generics for managed lists and such, are much more faster and efficient than using Collections. Therefore, good programming and code efficiency can make a big difference to application performance when used alongside the DGDK.NET toolkit.

I found that my Asteroids example (not available yet due to beta testing restrictions) will run much better if I convert the CAssets class to use Generics instead of the current collection functionality. CattleRustler will agree highly on this as well.

I will appologise at this point for delays, but beta testing has gone very well so far, I am just tied down with the documentation, although this is now nearly complete.

Paul.

Hypno Screen
18
Years of Service
User Offline
Joined: 21st Sep 2006
Location:
Posted: 21st Sep 2006 20:42
@Miguel Melo: It makes sense. The JIT does optimize when it translates the IL-code to machine code. Therefore an game might run faster on some machines, because the JIT takes care of optimizations.

http://www.hypnoscreen.com
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 22nd Sep 2006 11:10
I would expect to see it being slightly slower than the assembly generated by C - however, it shouldn't be that much - .Net is supposed to be pretty fast nowadays.

Wibble
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 22nd Sep 2006 14:41
Quote: "CattleRustler will agree highly on this as well"

That would make sense since it was I who turned you onto Generics

APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 22nd Sep 2006 21:16
I still haven't cured the common cold ye... oh wait... Generics, thought you meant Genetics.

Login to post a reply

Server time is: 2024-11-19 08:26:36
Your offset time is: 2024-11-19 08:26:36