Conway’s Game of Life in R: Or On the Importance of Vectorizing Your R Code byJohn Mount.
From the post:
R is an interpreted programming language with vectorized data structures. This means a single R command can ask for very many arithmetic operations to be performed. This also means R computation can be fast. We will show an example of this using Conway’s Game of Life.
…
A demonstration of a 10x speed increase from vectorized R code.
Cellular automata, Conway’s Game of Life is one, have a rich history, as well as being part of the focus of the Santa Fe Institute.
Suffice it to say that simple rules lead to complex and unpredictable behaviors.
Keep that in mind when people suggest simple solutions to complex behaviors, such as regulating social media in response to acts of violence.