is presently its sole maintainer,
You can support him:
Recap and set the stage for the day
Blackboard: Expanding Arenas
Blackboard: How our arenas currently work
Blackboard: Dynamic Array
A few words on the common and straightforward nature of expandable arenas
Dive into the code and consider how to begin implementing expandable arenas
handmade_memory.h: Start to enable PushSize_() to expand the memory arena
handmade_memory.h: Consider how to maintain our efficiency
handmade_memory.h: Enable PushSize_() to expand the memory arena by at least the MinimumBlockSize
handmade_memory.h: Consider the alignment problem with GetEffectiveSizeFor() and make PushSize_() correctly set the size
handmade_memory.h: Introduce a version of InitializeArena() that takes the MinimumBlockSize
handmade_memory.h: NOTE(casey): PROGRAMMING! RAII = bad :( ZII = good :) (!quote 528)
handmade_memory.h: Add MinimumBlockSize to the memory_arena struct and clean up compile errors
Run the game and see nothing different happen
win32_handmade.cpp: Remove the DebugStorageSize
handmade_debug.cpp: Enable the debug system to use a dynamically growing arena
handmade_debug.cpp: Introduce DEBUGInit()
Run the game and step through DEBUGInit() to see what happens
handmade_debug.cpp: Stop DEBUGInit() from initialising unnecessary data
Continue stepping through DEBUGInit()
handmade_debug.cpp: Make StoreEvent() assume that it never frees
Run the game with our new dynamically growing arena in action
insobot Q: Chink. Kappa?
dr_s80 Q: If you allocate a new block after calling BeginTemporaryMemory, EndTemporaryMemory is going to restore incorrect values, isn't it?
luam_the_elf Q: How easy or possible is it to transfer code from Java to an engine that does graphics well and, if it is possible or easy to transfer, which one would you recommend?
cyberpunkhobo Q: Would it be a good idea to store a pointer to the allocator function inside the arena struct instead of using a global?
flederfalter Q: How do we free old memory blocks if the base pointer always points to the newest allocated block?
longboolean Q: Perhaps I am missing something, but how do you go back to previously allocated memory blocks? Like for freeing memory and saving it out and reloading it
luam_the_elf Q: So are you a cat in your off time?
Wind it down