|
Post by Darkjester on Jul 15, 2008 13:42:53 GMT -5
Is thier a major speed difference beteen freebasic dlls and c++ dlls?
|
|
|
Post by DJLinux on Jul 15, 2008 19:38:56 GMT -5
Is thier a major speed difference beteen freebasic dlls and c++ dlls? In the case of Basic4GL plug in DLL's not really The Bottleneck is the interface between the plug in and the virtual machine (VM) from Basic4GL For example if you will sort or calculate an array of values you have to ask Basic4GL "please give me the array xyz with xyz dimensions from type xyz" after that you have a copy of the array and you can do what ever you need but after all Basic4GL must update the internal VM array. In the case of "normal" DLL's good C/C++ compilers (like GCC, VS or the best direct from INTEL) can create high optimized fast code. But for really fast things i can use the inline assembler from FreeBASIC. Let me know if you need a simple Basic4GL Plugin template in FreeBASIC. Joshy
|
|
|
Post by Darkjester on Jul 15, 2008 19:51:02 GMT -5
Thnx for the help  As for the plugin sdk for freebasic sure i could use it! ;D agian thnx
|
|
|
Post by Adam on Sept 12, 2008 9:42:36 GMT -5
Dj, does that mean you still need me to write a tuturial for the plugin sdk or not?
|
|
zack8686
Posts a bit
 
gl-Home in wikispace
Posts: 207
|
Post by zack8686 on Jan 1, 2009 7:59:33 GMT -5
Hi , can anyone please teach me how to make a simple dll using FreeBasic ?? I really like to make some dll for my OWN and will upload it for PUBLIC usage......
|
|
|
Post by Darkjester on Jan 4, 2009 22:41:56 GMT -5
Let me ask you this. have you done much programming? Do you understand data types, and returning data from functions?
|
|