Post B5tm3oInvBZhmFuZCS by wolf480pl@mstdn.io
 (DIR) More posts by wolf480pl@mstdn.io
 (DIR) Post #B5tm3nxXCGYqiHxa2y by nothings@mastodon.gamedev.place
       0 likes, 0 repeats
       
       Several weeks ago, I coded a primitive twin-stick shooter from an empty C file in about 90 minutes on stream. https://www.youtube.com/watch?v=nQrzB5P5NPE
       
 (DIR) Post #B5tm3oInvBZhmFuZCS by wolf480pl@mstdn.io
       0 likes, 0 repeats
       
       @nothings One of the first things you've written in that project is a slab allocator for the objects and that makes me wonder: would it make sense to have a generic slab allocator (with macros or sth) in stb?
       
 (DIR) Post #B5tmMiMuCvEmsMqOJ6 by nothings@mastodon.gamedev.place
       0 likes, 0 repeats
       
       @wolf480pl stb.h had a number of various kinds of allocators and I almost never use them in practice. i think this is a case where you kind of prefer to see 'through' the implementation for yourself instead of trusting a black box. with some exceptions, stb libraries tend to feel more leafy and less infrastructury