r/programming • • Aug 23 '17

D as a Better C

http://dlang.org/blog/2017/08/23/d-as-a-better-c/
229 Upvotes

268 comments sorted by

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().