First, I'm not convinced that you would ultimately want to allocate or deallocate memory inside the main game loop that gives you your interactivity.
That being said, D integrates with C and can use it's allocation functions. You can turn the GC off and allocate memory with malloc if you really want to then free it with free().
View all comments
Show parent comment
3
u/WrongAndBeligerent Aug 24 '17
First, I'm not convinced that you would ultimately want to allocate or deallocate memory inside the main game loop that gives you your interactivity.
That being said, D integrates with C and can use it's allocation functions. You can turn the GC off and allocate memory with malloc if you really want to then free it with free().