Elektrine lite

← Feed

@wolf480pl@mstdn.io

Post #2778420

2026-05-02 21:21 UTC

@nothings@mastodon.gamedev.place 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?

Replies (1)

  • @wolf480pl@mstdn.io 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

    Open ##2778421