PureScript (Maybe This Time We Get JavaScript Right)
summary
Builds a compact game engine for tiny browser ads, first trying TypeScript + RxJS then switching to PureScript and Bacon to meet strict size limits; PureScript compiles to concise JS and the runtime is tiny so the deliverable stays under constraints. Uses FFI for DOM rendering, a signal-style reactive loop ported from Elm, property tests with QuickCheck, and a working prototype that ships in production. PureScript generates ≈10KB runtime swapped RxJS for Bacon to save ~30–40KB
AI-written summary · about
chapters (16)
- 0:00Intro
- 0:54JavaScript
- 2:00Norway
- 3:05London
- 4:35Demo Game
- 5:37Game Engine
- 7:47Help
- 8:18Limitations
- 9:48TypeScript
- 11:46Haskell
- 12:22PureScript
- 13:26Bullet Points
- 19:49Semigroups
- 24:26QuickCheck
- 27:56Building the Game
- 37:01Pony Jump
related talks
49mPurescript (Maybe this time we get Javascript right)
47mFunctional Programming on the Web
43mThe Pure Functional Web
28mPureScript & Pux -- a safer, more expressive way to React
25mPureScript & Pux -- a safer, more expressive way to React
01h 49mPurely Functional Web Apps using React and PureScript
01h 04mJavaScript to Purescript A Migration Story
53mIntegrating Purescript and Halogen into Javascript Apps - Part 1 of 6
