Skip to content
0:00 / 0:00

#haskell#gamedevelopment#functionalreactiveprogramming

"Writing a game in Haskell" by Elise Huard

Strange Loop Conference

88K subscribers • 110 videos on Hallway • Conference channel

YouTube
  • Recommended by 2 people: 1 in engineering communities and 1 curated list.
  • Presented by Elise Huard, software consultant
  • May be out of date. Uploaded 12 years ago, in an area where tools change fast.

Intermediate. Assumes working knowledge.

49K views12 years ago2 recommendations

Game developmentProgramming languagesHaskellGame programmingFunctional programming

Elise Huard describes the process and challenges of writing a game in Haskell, covering functional reactive programming and graphics bindings.

Haskell is a beautiful functional language, written by smart computer scientists, and having clever and elegant functional constructs. It clearly separates pure and impure parts of the program. Game programming on the other hand is a very hands-on discipline, trying to wring out the most of the machine's performance, and aiming for one thing, in disregard of all else: a pleasant, challenging experience for the player. I aim to bring intersect those worlds and describe the process, and the specifics, of writing a Haskell game. Functional reactive programming, bindings to graphical libraries, etc, will all have a role to play. by Elise Huard (@elise_huard) Elise Huard is a software consultant who's been crafting and bashing together software for about 15 years now. Her skill set comprises talking to people, Haskell, Clojure, R, javascript, ruby, C, scaling, and a good few bits and bobs beside. She's spoken at a fair number of conferences, most of them Ruby, some of them javascript, some of them polyglot. She's based in Berlin, Germany. She enjoys reading sci-fi, traveling, cooking, tinkering, and spending time with her husband and baby daughter.

Why it's here

2 people recommend this

What people say. Recommended as a practical guide to building games using functional programming paradigms.

u/alexander_bin r/haskell • Recommends

"Writing a game in Haskell" by Elise Huard

programming-talkscurated list on GitHubRecommends

Under “Haskell”

Writing a game in Haskell 00:29:37 by **Elise Huard** (2014)

u/chshershin r/haskell • Mentions

On “Besides the classical book from Chris Allen, what other books would you recommend?”

**Parallel and Concurrent Programming in Haskell** (mentioned by @Lokathor) * http://chimera.labs.oreilly.com/books/1230000000929/index.html **Game programming in Haskell** (preview in this video; haven't read this book but seems good and rather advanced) * https://leanpub.com/gameinhaskell **The Joy of Haskell** aims to cover some advanced Haskell topics and it seems promising to me but far from release (so keep eye on it) * https://joyofhaskell.com/ **Type Driven Development** (yes, I know, it's about *Idris* but this book is sooooo good and I really like *Idris*; such things as Dependent types, programming with effects, Linear types, etc. are going to land in *Haskell* as well and…

u/derek-mcloughlinin r/haskell • Mentions

On “New Book - Game Programming in Haskell”

Following on from her recent Strange Loop talk, Elise Huard is writing a book on game programming in Haskell.

u/stevelyin r/haskell • Mentions

On “Has anyone tried the book Game Programming in Haskell?”

I haven't read the book myself, but the author did a talk about (some of?) the things discussed in the book when it first popped up. Link here. This should at least give you an idea of what's in it. As for general resources, unfortunately those of us who do game dev in Haskell only dabble and we all live in silos. /u/ocharles wrote a bit about an Asteroids clone he made that can be found here. Although that's more about `netwire` than game dev in general, it does talk a bit about the design choices and the full source is available. As for 2D graphics specifically, unfortunately I only know OpenGL and it goes to great lengths to make things difficult. /u/Bloaf mentioned `SDL2`, which is m…