Author Topic: No GUI  (Read 2500 times)

Offline Greven

  • Bot Destroyer
  • ***
  • Posts: 345
    • View Profile
No GUI
« 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.
« Last Edit: April 12, 2006, 12:14:41 PM by Greven »
10010011000001110111110100111011001101100100000110110111000011101011110010110000
011000011000001100010110010111101001110100110010111100101000001000001111001011101
001101001110011011010011100011110100111000011101100100000100110011010011100110110
010110000011100111101001110110111101011101100110000111101001101001110111111011101
01100100000111010011010001100001110111010000010001001000010100001

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
No GUI
« Reply #1 on: April 12, 2006, 12:43:46 PM »
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.

Offline Greven

  • Bot Destroyer
  • ***
  • Posts: 345
    • View Profile
No GUI
« Reply #2 on: April 12, 2006, 12:46:29 PM »
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.
10010011000001110111110100111011001101100100000110110111000011101011110010110000
011000011000001100010110010111101001110100110010111100101000001000001111001011101
001101001110011011010011100011110100111000011101100100000100110011010011100110110
010110000011100111101001110110111101011101100110000111101001101001110111111011101
01100100000111010011010001100001110111010000010001001000010100001