Genetic Programming

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
theotherbassist
Posts: 115
Joined: Thu Mar 06, 2014 9:29 am

Genetic Programming

Post by theotherbassist » Wed Sep 30, 2015 4:24 am

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?

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Genetic Programming

Post by FourthWorld » Wed Sep 30, 2015 6:24 am

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?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

theotherbassist
Posts: 115
Joined: Thu Mar 06, 2014 9:29 am

Re: Genetic Programming

Post by theotherbassist » Wed Sep 30, 2015 8:29 pm

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?

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Genetic Programming

Post by FourthWorld » Wed Sep 30, 2015 8:49 pm

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.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

theotherbassist
Posts: 115
Joined: Thu Mar 06, 2014 9:29 am

Re: Genetic Programming

Post by theotherbassist » Wed Sep 30, 2015 10:46 pm

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.

Post Reply