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.

DarkBASIC Professional Discussion / Functions in #include .dbas vs Purebasic Dlls vs Visual C++ dlls

Author
Message
Duffer
23
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 28th Feb 2005 02:55
is there much in it in terms of speed - I havnt noticed much difference in terms of speed between purebasic dlls and included .dba files including functions....

anyone really speed tested this point?
Freddix
AGK Developer
23
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 28th Feb 2005 03:01
Try to code a demo loop in purebasic
like :



entirely in PureBasic and see the difference

For my project X-Quad Editor, the main game engine is entirely written in purebasic. In fact it was 100% dbpro source code and converted to purebasic. When I see the convertion running, frame rate was nearly 2x times faster than dbpro source code.

I can see that a well optimised purebasic DLL can help to gain in speed in dbpro programs

I'm sure it can be the same for C++

Duffer
23
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 28th Feb 2005 03:14
Thanks Freddix - will put a little more through purebasic... just being lazy...

Login to post a reply

Server time is: 2026-06-26 06:47:36
Your offset time is: 2026-06-26 06:47:36