Page 1 of 1

Genetic Programming

Posted: Wed Sep 30, 2015 4:24 am
by theotherbassist
Has anyone tried doing any genetic programming within livecode? If so, what kind of problems? How much slower would this be compared to other languages?

Re: Genetic Programming

Posted: Wed Sep 30, 2015 6:24 am
by FourthWorld
Performance should be roughly on par with what you'd find with Python or PHP. But GA is a broad area - what are you looking to build?

Re: Genetic Programming

Posted: Wed Sep 30, 2015 8:29 pm
by theotherbassist
I honestly didn't have anything specific in mind. I've just been reading a bit of beginner theory, and contemplating the use of livecode for understanding the concepts, basically. Suggestions?

Re: Genetic Programming

Posted: Wed Sep 30, 2015 8:49 pm
by FourthWorld
theotherbassist wrote:Suggestions?
None from me, though others here may have some ideas.

State machines driven by custom properties are interesting and can have many practical applications, but personally I avoid self-modifying code whenever possible. It's just too mich work to debug and maintain, and for the sort of things I build there are much more straightforward options.

Re: Genetic Programming

Posted: Wed Sep 30, 2015 10:46 pm
by theotherbassist
Thanks. If anybody has any ideas as to the aspects of gp/ga livecode might be better-suited for, I'd be really interested. Like I said, I'm more interested in understanding the theory. But I don't have a great grasp of other languages, so a lot of the tutorials, etc. are hard for me to visualize. I immediately thought livecode because it's a great platform for novice coders, especially in that concepts can be actualized rather quickly.