Back to Browse

Multiplatform C game engine from scratch | Day 59 [Thread Debug]

54 views
May 14, 2026
2:54:20

We try to debug the issues with the threads, but it honestly seems like we're just making it worse. I also include clang's address sanitizer, but aside from not catching anything immediately, we run into even more issues as we try the poison memory approach as suggested by Tkap. Sorry for the microphone peaking at the beginning, I realised and dropped it down halfway through. 00:00 - Start 8:55 - Issues with the current approach 1:04:30 - Learning advice 1:21:18 - Thoughts on C++ vs C 1:45:00 - Rubber ducking the bug 2:42:50 - Going over how the game & draw states work https://timpz.tv FAQ: What are your tools? - VSCodium, RemedyBG, LLVM, Clangd, Emscripten What's that theme? - Synthwave '84 Is the code public? - https://gitlab.com/timpz What are your dependencies? - HandmadeMath.h, kb_text_shape.h, stb_truetype.h, GLEW/OpenGL & Emscripten/WebGL

Download

0 formats

No download links available.

Multiplatform C game engine from scratch | Day 59 [Thread Debug] | NatokHD