An open API service indexing awesome lists of open source software.

https://github.com/blitzcode/haskell-gol

Three 'Game of Life' Implementations in Haskell
https://github.com/blitzcode/haskell-gol

cellular-automata game-of-life haskell pthreads repa

Last synced: 5 months ago
JSON representation

Three 'Game of Life' Implementations in Haskell

Awesome Lists containing this project

README

          

# Three Haskell 'Game of Life' Implementations

This repository contains the source code for three simple Game of Life implementation in Haskell. The purpose of this project was to learn more about writing fast Haskell code working with arrays and displaying the results using OpenGL.

First version using Data.Array and GLUT

![gol](https://raw.github.com/blitzcode/haskell-gol/master/array-glut/screenshot.png)

Second version using Data.Vector and GLFW-b

![gol](https://raw.github.com/blitzcode/haskell-gol/master/vector-glfwb/screenshot.png)

Third parallelized version (Async, Repa, LLVM backend, C++ & pthread reference)

![gol](https://raw.github.com/blitzcode/haskell-gol/master/parallel-glfwb/screenshot.png)