I so want to get into this one day (I am already arena-pilled) but to I am so productive in Odin that I feel like it would be bikeshedding to some extent to learn more of this. Kinda. Don't know.
What's your approach in your games in regards to memory management and dynamic stuff?
What's your approach in your games in regards to memory management and dynamic stuff?
Comments
I currently use stb_ds.h which provides "stretchy buffers" and hashmaps. It uses malloc/realloc/free which I don't love, but it works. I try to use fixed C arrays and static allocations when \
I'm happy with this, but \
Cool, Odin has this pattern kinda "built in" with the `temp_allocator` which is an arena made for short lived allocations. There are obviously people with the same ideas here. :D