[Haskell-cafe] H98, OOHaskell - getting started with objects in Haskell
g9ks157k at acme.softbase.org
Fri Jan 14 21:34:30 CET 2011
Am Donnerstag, den 13.01.2011, 15:23 -0800 schrieb gutti:
> I'm especially interestes in engineering calculation tasks where cellular
> automata could be used. In that case all u have to do is to give the class
> the right properties and that "let it grow".
> Such a localised intelligence approach seems an ideal OO - task. I don't
> know whether something functional could achieve the same.
Is this really ideal for OO? I thought that in a cellular automaton, all
cells have to change synchronously. In addition, cells have to access
the old states of their neighbours to compute their new states. So you
would have to heavily synchronize the objects.
In this light, I’d say that the distributed OO approach isn’t very
practical. A global control of the whole system might be better.
Note that I’m by no way an expert in cellular automata. I’m just
thinking of the game of life. :-)
More information about the Haskell-Cafe