TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Genetic brainfuck programming

56 pointsby r00nkover 10 years ago

6 comments

jostmeyover 10 years ago
As someone with a background in computer programming, I found biology quite frustrating. I wanted to see some underlying structure or meaning in the genetic code. It took me a long time to realize that it wasn&#x27;t there. Biological systems and their genetic codes are the result of random trial and error filtered through Natural selection. Biological systems clearly have a design because you see the same &quot;form&quot; reappear in each generation, but the design itself is completely random. In other words, the design has to work, but it does not have to be sensible.<p>To summarize, the design of biological systems is random. It was a hard pill for me to swallow, and an utterly dissatisfying one at that.
评论 #8939042 未加载
评论 #8938757 未加载
评论 #8938726 未加载
评论 #8939821 未加载
评论 #8939332 未加载
评论 #8939779 未加载
akkartikover 10 years ago
My #1 link for anyone interested in genetic programming is the language designed from the ground up to be programmed genetically: <a href="http://faculty.hampshire.edu/lspector/push.html" rel="nofollow">http:&#x2F;&#x2F;faculty.hampshire.edu&#x2F;lspector&#x2F;push.html</a>
reitzensteinmover 10 years ago
It&#x27;s been a decade since I have written a BF program, but if I&#x27;m not mistaken, the winning strand in the gif example has quite a bit of dead code, for example here:<p>[[]+&lt;-,&lt;&lt;.&gt;&lt;+&gt;+,]<p>This entire loop must always be skipped, because if entered, the inner [] loop will also enter, and run indefinitely.<p>It would be cool to run it through more iterations, to get to the local minimum of length, rather than just a correct program.
评论 #8939262 未加载
评论 #8938474 未加载
评论 #8938470 未加载
signa11over 10 years ago
reminds me of this: <a href="http://www.generation5.org/content/2003/gahelloworld.asp" rel="nofollow">http:&#x2F;&#x2F;www.generation5.org&#x2F;content&#x2F;2003&#x2F;gahelloworld.asp</a><p>where a c++ program is &#x27;evolved&#x27; to output &quot;hello world&quot;
rekibnikufesinover 10 years ago
props for <a href="https://github.com/r0nk/corvus/blob/master/bird.c#L80" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;r0nk&#x2F;corvus&#x2F;blob&#x2F;master&#x2F;bird.c#L80</a>
codezeroover 10 years ago
Next step, do this with Malbolge :)
评论 #8938807 未加载