@JCL: In my eyes you forget an important possibility that might be well known for all the programmers beneath us: Try and error! Who said we were the first try of nature to create life?
Science has proven that nature is able to adopt to given conditions and I'm pretty sure that the same happened to us!