4 ms·
Nice; just wrote a [fairly naive] implementation in Go myself. It works but it's not very fast. For a 36x36 grid; I can do ~5,000 iterations in < 30 seconds or
by drbawb 14y ago
Nice; just wrote a [fairly naive] implementation in Go myself.
It works but it's not very fast. For a 36x36 grid; I can do ~5,000 iterations in < 30 seconds or so. I'm sure a large part of the bottleneck is the fact that my "viewer" is just STDOUT redirected to a file; I want to implement some buffered I/O and then try my hand at writing HashLife.
I have to admit: I didn't think the game of life would be much of a game; but it's fairly fun to mess around with!
- naeg 14y agoWould you share your Go implemenation with us? Curious about Go, too.