Code center > Darwinbots Program Source Code
Porting the code
PurpleYouko:
--- Quote ---in vb your programs are run trough an interpretor, so you lose a lot performance. In c++ your program is completly compiled so it runs directly on your os, api's and hardware without any translations from an interpretor.
--- End quote ---
Not quite.
VB only runs through an interpreter while you are running it in debug mode directly from code.
Once you make an execuatable then VB is 100% compiled. The reason that C is faster is that VB is compiled into a slightly less efficient format due to the high level of the VB language.
vryko:
it isn't compiled for 100%
it is more like java, but the vm is integrated in windows (maybe because it is from the same firm).
PurpleYouko:
OK maybe you are right that it isn't 100%. I am not in a position to know that for sure.
The one thing I do know is that you don't require any kind of interpretter program to run an executable created from VB. It just kicks out a .exe file that can be run on any windows OS
Zelos:
I still think its kinda sad ure moving it, when im starting to understand vb you guys move it into something I cant under stand :( :'(
PurpleYouko:
I think I like the idea suggested in another thread that we possibly split DB into two camps.
On the one hand we have the developmental version being ported to C. This will eventually be much faster and hopefully better than the VB version. Also should be able to run cross platform.
On the other hand, I think the VB version should also be honed to fix all the bugs that are still there in V2.36.
It will be very useful to have a completely bug free version for people who want a stable environment for long term sims. This version will most likely be one of the VB versions for a long time yet.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version