[1:04:15][@m1el][Have you heard of the DTrace tool? It allows dynamic tracing on running binaries and also kernel! (Not available on windows, though)]
[1:04:38][@elxenoaizd][You mentioned in the prestream a 'dynamic' memory_arena. How does that actually work since we allocate memory only once? What happens when the arena is full?]
[1:05:45][@mojo123X][You've mentioned the term "Collation" on this episode and several previous episodes. What exactly do you mean when you use that term?]
[1:06:37][@Mpact][What keyboard do you use?]
[1:06:54][@elxenoaizd][Could you elaborate a bit more on what 'memory alignment' means?[ref
site="Handmade Hero Episode Guide"
page="Handmade Hero Day 127: Aligning Rendering Memory"
[1:08:37][@elxenoaizd][But wouldn't asking the OS for more memory expose more failure points thus be against Handmade Hero memory philosophy? Since the whole point of our scheme was that we're sure once we run the game we can't crash]
[1:10:39][@elxenoaizd][I'm always hesitant when using Linked Lists in engine and gameplay code (debug code is fine) because of their cache unfriendliness, random access of memory and difficulty in debugging (you'd have to dig down a node to find what you're looking for). Do you think it's not that big of a deal and I'm worrying too much?]
[1:15:02][@jim0_o][I'm debugging on Day 121. Do you used int instead of int32 for any reason?]
[1:15:24][handmade.cpp and handmade_debug.cpp: Replace int with u32]
[1:16:56][@andsz_][libs like the stb libs let you specify a custom malloc / free function. How would you integrate that into an arena-based system?]
[1:17:54][@elxenoaizd][Have you heard of VMem?]
[1:18:03][@elxenoaizd][If we wanted to use object pools (reusable / recyclable objects for enemies, for example), where would be the best place to store them? Permanent or transient memory? I guess they wouldn't be in transient cause the whole game shares the same pool, so I guess permanent?]
[1:18:54][@elxenoaizd][reinterpret_cast, static_cast and dynamic_cast: are they of any good use?]
[1:19:33][@andsz_][There are libs that allow allocating and freeing multiple chunks of memory during runtime. How would you specify malloc / free for them in an arena-based game like Handmade Hero?]
[1:21:26][@jim0_o][The int use in question was a lot in SIMD'ing DrawRectangle -> DrawRectangleQuickly, and my version of the code is crashing on "Access violation reading location" when casting Pixel to __m128i at the start. Could iterating with int vs int32 be the reason?]
[1:22:11][@elxenoaizd][What do you think of pass by reference and references? I think they obfuscate the code because it's harder now to see from the calling site to find out if an object is passed by value (copy) or we are actually passing an address of it to modify it]