~/talk

Building the World's Fastest GameBoy Emulator in Modern C++

Talkat CppNorth 2025 · 2025-07-21..07-23· [creative-coding]
name:Tom Tesch
links:none on file
slides:none on file

Claims building a lightning‑fast DMG‑001 Game Boy emulator in Modern C++, uses OLC Pixel Game Engine for display, embeds a 32 KiB ROM with #embed and compiles a compile‑time opcode map that replaces runtime decoding. Benchmarks show the toy 8‑bit core runs ~250 MIPS in the emulator and a hand‑rolled native assembly loop hits ~10,000 MIPS; the compile‑time function pointer approach sometimes slows execution vs a simple switch, but the emulator runs Tetris, targets Raspberry Pi Pico, and omits sound for now.

AI-written summary · about

  1. 0:00Introduction to emulator dev
  2. 1:11Why build a Game Boy emulator
  3. 2:53Hardware documentation and tools
  4. 7:50System architecture overview
  5. 11:52Instruction set complexities
  6. 14:40Project choice: Tetris
  7. 18:18Performance and design goals
  8. 22:11Audio and engine selection
  9. 24:26Programming the emulator
  10. 29:39Assembly and code analysis
  11. 39:19Refactoring with C++ features
  12. 45:12Advanced architecture and benchmarks
  13. 49:47Compile-time techniques
  14. 59:15Conclusion and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.