Darwinbots Forum
Code center => Suggestions => Topic started by: Greven on April 12, 2006, 12:15:17 PM
-
I just want to ask you if the final (oooohhh many lines of code to be written before that happens) C version, will include something similar to avida command line? I mean no GUI what so ever just the program running in the background dropping data files and saving once in a while. I am asking this, 'cous the GUI will get the program running much slower (and there is no idea in having a GUI if it should just run over night or something, you know, and so a lot of CPU cycles will be spared). I tried something like this in VB, but it is not really possible, or so I think.
Just some random thought again.
Okay I am not sure it was avida, maybe Tierra, doesnt matter really.
-
The GUI is sectioned off from the Engine in about 99% of cases, so this wouldn't be hard at all.
Unfortunately the GUI relies too much on the Engine so it won't be like the GUIs sitting on top of the Engine executable. The GUIless program would need to be compiled and included seperately from the GUI filled program, which means you have the potential for new complication and new bugs.
As to speed, moving the GUI to a seperate thread has reduced the GUI impact on speed to nothing. Simply put, the program as it now stands runs as fast with graphics on as the VB version does with graphics off. The only way I could see the GUI being a problem is if you want to run in a comand line only environment, like MSDOS.
-
Mmmm, I see you point. Believe you in the the GUI dont slow down the sim, but some testing is worth a shot or so I think.