~/talk

Implementing a web game in C++14

Talkat Meeting C++ 2016 · 2016-11-18..11-19· [webassembly, game-development]
links:none on file
slides:none on file

A working C++14 match‑3 web game exists: source uses ranges, boost DI and SML for logic, SDL2 for rendering, compiled with M scripton into both asm.js and web assembly. The webassembly bundle is ~1 MB versus ~9–10 MB for asm.js, claim of near‑native speed; runtime demo runs in browser, demo score reaches 83 points. Key specifics: jump‑table event dispatch, view‑based board with range views, zero‑overhead DI and state machine, scrolling + random refill implemented and verified.

AI-written summary · about

  1. 0:00Start
  2. 1:24Design Implementation
  3. 2:47Overview
  4. 5:03Future of the Web
  5. 5:39Webassembly Explorer
  6. 6:55Assembly
  7. 7:52Libraries
  8. 10:22Actions
  9. 20:00Design
  10. 22:08Configuration
  11. 24:01Interface
  12. 25:12Game Loop
  13. 37:19Verify Column and Row
  14. 40:22The Rotate from Stl
  15. 41:05State Machines
  16. 42:14Initial State
  17. 43:41Recap
  18. 44:08State Machine
  19. 54:25Benchmarks
  20. 55:05Compile It to the Web
  21. 55:44Web Assembly
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.