~/talk

The Case for Graphics Programming Using the D Language

Talkat ACCU 2025 · 2025-04-01..04-04· [creative-coding, rust]
slides:none on file

Examples include a D-written ray tracer from "Ray Tracing in One Weekend" that compiles and renders images, shaders embedded as source, and an OBJ parser built with ranges and slicing; the build uses DMD (LDC/GDC for speed) plus OpenGL and GLFW. Compile-time tricks like compile-time function execution and mixins generate zero-branch math; a parallel foreach cuts a render from 5.9s to 0.76s, and switching a heap-allocated class to a struct roughly halves runtime. Unit tests, profiler and optional GC/betterC control are used.

AI-written summary · about

  1. 0:00Introduction to D
  2. 1:03Audience poll
  3. 2:33First impressions of D
  4. 5:51Compile time features
  5. 10:12High-level systems language
  6. 13:42The case for D
  7. 17:34Ray tracing example
  8. 21:12Classes vs structs
  9. 25:38Operator overloading
  10. 26:54String mixins
  11. 28:36Template constraints
  12. 30:18Built-in unit testing
  13. 31:58Language profilers
  14. 32:49Garbage collection
  15. 34:02Parallelism in D
  16. 35:48Performance benchmarks
  17. 37:34Teaching D at university
  18. 39:34D and C++ complementary
  19. 40:35Real-time graphics in D
  20. 42:34Game engine inspiration
  21. 43:27Dagon and Dash engines
  22. 44:50Crash course on graphics
  23. 46:16Interfacing with C
  24. 47:13OpenGL loaders
  25. 47:53Module initialization
  26. 50:13Rendering a triangle
  27. 51:59Safety features
  28. 53:39Embedding shader code
  29. 54:15Parsing structured data
  30. 55:16OBJ file parser
  31. 57:24Comparison with C++
  32. 58:52Parallelizing parsing
  33. 59:45Flexible vertex format
  34. 1:01:04Reflection in D
  35. 1:02:58OpenGL attribute setup
  36. 1:05:55Render targets
  37. 1:06:53Debugging graphics code
  38. 1:08:30Hot reloading
  39. 1:10:02Game loop structure
  40. 1:10:54Build times
  41. 1:12:30Better C mode
  42. 1:14:00Managing memory
  43. 1:15:53Polymorphism with structs
  44. 1:17:36D contracts
  45. 1:18:40Data structures
  46. 1:20:15Learning resources
~/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.