Level Up! Game Development With PureScript Native
summary
Claim: PureScript Native compiles PureScript to C++ so real 3D games can be written with PureScript logic and a C++ engine. Implementation details: use the PureScript Native compiler, write C++ FFI exports, bind to Panda3D for rendering, adapt FRP timing from JS to a threaded model. Concrete results: a working game called Lambda Lantern builds in ~7 minutes from scratch and ~10 seconds incremental, packages via AppImage/DMG/NSIS, and runs successfully after the C++ binding and packaging steps.
AI-written summary · about
chapters (19)
- 0:00Intro
- 0:27Agenda
- 2:57Why PureScript Native
- 14:06Binding to C
- 19:49C vs JavaScript
- 24:29Build Process
- 26:28Distribution Process
- 31:44Hollywood Principle
- 33:22Scriptum
- 34:18Lambda Lantern
- 35:04Panda 3D
- 35:31PureScript Native
- 37:50Intersection
- 38:01Type Signature
- 38:29Performance
- 39:31Shaders
- 40:31PageScript Native
- 43:21Game Logic
- 43:54Models
related talks
30mWriting a game in Haskell
25mLeveling Up: Building Retro 2D Games with JavaScript and Phaser
34mReimagining 2D graphics and game development with Ruby
29mJavaScript and Game Development
46mClojure in Unity 3D: Functional Video Game Development
44mGame Development and Ruby
26mdeveloping videogames in JavaScript
38mMaking Games at Runtime with Clojure
