Добрый день, тезка:-) I'm doing pretty heavy GA in node.js, and I must admit that you absolutely have to distribute the load across all your CPU cores; otherwise you're just wasting resources. Some GA solutions could run for hours.
Pity I've got close to nothing to contribute because my generation code and fitness functions are done in plain C in a separate multithread process spawned from node.js; not much JS code there. On Sunday, April 8, 2012 7:59:28 PM UTC+3, Boris Egorov wrote: > > To your collection of 'things you should never do with JavaScript' -- brand > new module that implements genetic algorithm. > See more, watch and fork -- https://github.com/dolphin278/genetic > > So whether you want to deal with simple optimization problems without > using external tools like Octave or Mathlab (sure they are much more > powerful), or you want your web application to evolve to suit your users > better you can do it right in NodeJs :) > > If you curious, what is all about -- > http://en.wikipedia.org/wiki/Genetic_algorithm > > I know, there is plenty of features to add and things to make more > convenient, but it works :) > Pull requests and issues are very welcomed. > > npm install genetic > > > P.S. it's asynchronous, of course. > --------- > Boris Egorov > skype/gtalk/nickname: dolphin278 > mobile: +7 905 728 1543 > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
