~/talk

Fallacies of Doom Lessons learned from porting Doom 3 to Java

Talkat Devoxx Belgium 2017 · 2017-11-06..11-10· [java, game-development]
links:none on file
slides:none on file

A full Doom 3 C++ engine compiles and runs in Java as djoom3 after about three years of porting, but with many deliberate workarounds: unsigned ints become longs, const semantics are manual, pointers become one-element arrays, and unions that took months to untangle are reimplemented. Performance surprises include Java build times dropping to ~30–60s versus minutes for C++, and debugging traps like a duplicate ByteBuffer endianness bug that warped colors. Conditional breakpoints measure roughly 180× slower in hotspots; the port is functional but still buggy.

AI-written summary · about

  1. 0:00Intro
  2. 0:33Boring intro: history
  3. 8:29Immutability, const vs final
  4. 11:59Unsigned primitives
  5. 14:00Operator overloading
  6. 18:56Destructor
  7. 20:31Grandfather inheritance
  8. 27:15Hungarian Camels
  9. 31:23Unholy union
  10. 32:39Default arguments
  11. 35:26The memory watcher
  12. 40:22Floating point operator precedence
  13. 42:27Conditional breakpoints
  14. 44:02A backwards compatible story?
~/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.