Generative Design with rhino compute

In grasshopper, I use galapagos for generative design. How should i use generative design in rhino compute? Will i have to change rhino.compute code or there is a simpler way?