Jump to content
  • Advertisement
Sign in to follow this  
bit64

Programs writing programs

This topic is 5022 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm thinking about writing an application that uses genetic algorithms to create machine code that will run and perform some specific task. I could make the fitness function to check an area of memory and see if it contains a certain value, or even be more complex like check a pixel in the render frame for a certain value. Has anyone tried this, or heard about it being done? I read a book once that described a similiar task on programmable EPROMs to measure radio frequencies in space or something. Anyway, seemed like a fun challenge.

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Programs writing programs is not uncommon in LISP, because it's a functional programming language. LISP is also widely used for AI programming tasks.

Share this post


Link to post
Share on other sites
You usally do not want machine code.

You should use a virtual machine, and make sure that it can't crach your comp. Because guarenteed, makeing Machine code, using a GA, unrestrained, will crash your comp very, very, very, very Quickly.

From,
Nice coder

Share this post


Link to post
Share on other sites
Ya, I did a lot of LISP programming at my University. What I'm talking about is a little bit different, more along the lines of artificial life.

Given a blank computer, have another computer develop a GA to actually evolve the blank computer to some state.
The potential is there for the GA to evolve the blank computer to a state which would resemble a limited operating system, and (this is reaching) perhaps even a cognizant form of life :)

Share this post


Link to post
Share on other sites
Quote:
You usally do not want machine code.

You should use a virtual machine, and make sure that it can't crach your comp. Because guarenteed, makeing Machine code, using a GA, unrestrained, will crash your comp very, very, very, very Quickly.


Most definately :)

Share this post


Link to post
Share on other sites
Do a google search for "genetic programming", as that's what you're talking about. There is quite a bit of info floating about on the web about it :)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!