Sunday, 13 April 2014
"Dart News & Updates: Dart 1.3 dramatically improves server-side perform...: With Dart SDK 1.3, we’ve improved performance of async code running in the Dart VM and made substantial improvements to dart:io."
It has been a while since this blog covered server side code - hope to have a sample up soon covering a simple app.
Tuesday, 1 April 2014
The classic computer simulation of Conway's Game of Life, still seems to be popular with programmers. It is not so much a game as a simulation. The action takes place of a grid with a selection of them being populated with cells. The grid is then updated to the next generation of cells. Cells make it to next generation based on a few rules such as number of neighbours. New cells can also be born. End result it a captivating pattern and repeated sequences of movement that has been used to produce music and video games.
Here's the Diving Into Dart version! Of course, it had to be colourful so cells of different ages are shaded. This still looked a bit plain so I added 4 cultures of cells to the same display. To vary things still, the number of iterations is used too and my cells are round rather than square.