Sign in to follow this  

Programs writing programs

This topic is 4720 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
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

This topic is 4720 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this