Code center > Darwinbots3

Viruses (Re: Programming task (DNA editor))

(1/4) > >>

spike43884:

--- Quote from: Numsgil on April 03, 2015, 04:25:20 PM ---I have some ideas for projects in Sunweaver if you aren't sick of it yet (things like static code analysis to find sections of DNA that don't do anything and remove them when executing the code to make it faster) .  Or if you want something more adventurous I might have some ideas for things in other modules.  At the easier side it's writing tests to expose bugs in things I'm pretty sure have bugs in them, and then trying to fix them.  At the more extreme end it's things like integrating Yeppp! in to the math library and seeing what sort of performance gains that gives.

--- End quote ---
You can't remove static code. Your going to artificalise it by doing that.
Static code might be there and not be static in a few cycles from a mere little mutation. Think of the 2nd generation of wrinkly pea's and round pea's.

Numsgil:
It's just for performance and to help people analyze bots.  The "real" DNA is kept around for things like reproduction.

spike43884:

--- Quote from: Numsgil on April 04, 2015, 02:30:26 PM ---It's just for performance and to help people analyze bots.  The "real" DNA is kept around for things like reproduction.

--- End quote ---

Well considering your identifying the null chunks of code, you could always make it skip those null chunks (but keep them in storage) until a mutation, virus or reproduction event happens.

Also could you make virus's a bit cheaper in DB3?

Numsgil:

--- Quote from: spike43884 on April 05, 2015, 08:34:45 AM ---Also could you make virus's a bit cheaper in DB3?

--- End quote ---

Cheaper in what way?

spike43884:

--- Quote from: Numsgil on April 05, 2015, 02:05:24 PM ---
--- Quote from: spike43884 on April 05, 2015, 08:34:45 AM ---Also could you make virus's a bit cheaper in DB3?

--- End quote ---

Cheaper in what way?

--- End quote ---
NRG-wise, but possibly to stop them becoming to powerful make copying slightly slower. Generally virus's aren't to costly to the cell (As they want to really reproduce before the cell is out of energy) but take a bit of time (on a biological time-scale) to actually explode the cell...

Possibly also a limit to the maximum number of viruses your individual bot can contain depending on its body, otherwise it explodes.

Navigation

[0] Message Index

[#] Next page

Go to full version