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 / Performance advantage over DBP?

Author
Message
Hawkblood
14
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 3rd Oct 2010 20:49
Does DarkGDK have any performance advantage over DBPro? I know some advantages like the class and structure bonuses to C++, but are there any speed advantages?

The fastest code is the code never written.
Pilz X Schizo
17
Years of Service
User Offline
Joined: 21st Mar 2007
Location: Massachusetts, USA
Posted: 3rd Oct 2010 21:13
Overall i'm pretty sure that the speed is about the same between the 2 since they are basicly the same exact thing just a different programming enviroment. Though from a technical point of view, GDK can be faster since you can use native c++ to do some things that the DBPro commands do which pretty much eliminates the middle man. The only thing I would say towards this is that the speed increase probably isn't going to be that much faster overall and the speed is mostly just going to come from writing very efficent code regardless of the Language/Enviroment, which basicly means whatever enviroment you are most comfortable in is where your going to produce the most efficent code.

I could be completly wrong, but thats my view and 2 cents.

KISTech
16
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 3rd Oct 2010 21:38 Edited at: 3rd Oct 2010 21:40
Yes, GDK/C++ performs much faster than the same app made in DBPro.

How much faster depends on the app and how it is written.

It's the main reason I'm moving Worlds Apart Online to GDK. I'm fairly sure I've come close to the upper limits of DBPro, and need to move up.

Hawkblood
14
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 3rd Oct 2010 21:43
Thanks. I started my DX programming in VC++, but when I got Win7, the VC++ compiler I had didn't work. So I found DBP. I liked it, but the class/structure limitations made programming a hassle. Just today I got VS2008 and I think it will give me better control over the DBP compiler.....

Now I need some time to peruse the forum for stuff like shaders and plugins. Any help on that + implimentation would be appreciated.

The fastest code is the code never written.
Bran flakes91093
16
Years of Service
User Offline
Joined: 13th Sep 2008
Location: Crazy Land
Posted: 4th Oct 2010 03:29
Quote: "How much faster depends on the app and how it is written."


http://www.thegamecreators.com/?m=view_product&id=2128&page=compare - Some examples

“C++ : Where friends have access to your private members.”
-Gavin Russell Baker
Hawkblood
14
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 4th Oct 2010 03:58
I can't seem to find a commands list with explainations like dbSetCullMode().... What values do you use? Is there a full help file for that somewhere?

The fastest code is the code never written.
KISTech
16
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 4th Oct 2010 20:08
The help files in DBPro is all there is I believe.

Hawkblood
14
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 4th Oct 2010 20:30
So I have to open DBP to have access to the help while I'm programming in GDK..... That's dumb! GDK should have it's own help.

The fastest code is the code never written.
Fatal Berserker
14
Years of Service
User Offline
Joined: 2nd Jul 2010
Location:
Posted: 4th Oct 2010 22:55
Quote: "That's dumb! GDK should have it's own help."

It does, go to your install directory.

Smoke me a kipper, ill be back for breakfast.
KISTech
16
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 4th Oct 2010 22:59
Ah, how about that.

That will make things a little easier.

Hawkblood
14
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 4th Oct 2010 23:57
WOW! That was there the whole time.... Too bad it's not attached to VS so I could go directly to it. Guess I'll just make a shortcut and open it when I need it. Thanks.

The fastest code is the code never written.
Benjames8
14
Years of Service
User Offline
Joined: 6th Jan 2010
Location: Your Nightmares
Posted: 5th Oct 2010 06:48
Those speed increase's are encouraging Bran
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 5th Oct 2010 08:12
Of course you also have the benefit of a practically (if not completely) bug-free compiler.
Hawkblood
14
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 5th Oct 2010 15:51
I've got a big warm fuzzy about GDK. It's like a DBP/C++ hybrid. I've had plenty of experience with both so once I get used to the DGK commands, I will be able to make powerful apps.

The fastest code is the code never written.
KISTech
16
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 5th Oct 2010 19:37
I'm the other way around. I know the DBP commands quite well now, but am just now getting used to C++ syntax..

Login to post a reply

Server time is: 2024-11-19 18:29:52
Your offset time is: 2024-11-19 18:29:52