http://qs321.pair.com?node_id=1199853


in reply to Re: More Betterer Game of Life
in thread More Betterer Game of Life

For optimum performance, standing on the shoulders of giants and creating an XS wrapper around lifelib would obviously be best, this would have the added advantage of supporting all (classes of) CAs that lifelib supports. ... (Speaking of CPAN: you do intend to eventually bundle this up and release it as a module, right?)
Thanks, I really like your idea of a XS wrapper around LifeLib. And yes, I'd like to get something onto CPAN later this year.

Replies are listed 'Best First'.
Re^3: More Betterer Game of Life
by AppleFritter (Vicar) on Sep 25, 2017 at 11:23 UTC

    Thanks, I really like your idea of a XS wrapper around LifeLib.

    Better yet, how about a Life module with different pluggable backends? Math::CellularAutomaton, say, using Math::CellularAutomaton::LifeLib, Math::CellularAutomaton::Organism or Math::CellularAutomaton::Organism_PP under the hood, depending on what's installed, what's supported by the current CPU architecture, and what is able to handle the CA the user wants to run.