Skip to content
/ wheels Public

Custom allocators and containers. Kind of academic in nature, but tries to be simple and efficient.

License

Notifications You must be signed in to change notification settings

sndels/wheels

Repository files navigation

wheels

Let's reinvent some!

This is kind of a stdlib-thingy where I try to replace things from the STL to learn how things work. It implements dynamic containers with abstract allocators to get a feel for an architecture that requires passing allocators around and not relying on magical global ones

Allocators include a general purpose TlsfAllocator, a LinearAllocator and a 'ScopedScratch' for temporary allocations.

The containers mirror their STL counterparts with missing and/or simplified interfaces where I didn't find a need to complicate things.

Used in prosper, my Vulkan toy renderer, to get more insight through "real world" user code.

About

Custom allocators and containers. Kind of academic in nature, but tries to be simple and efficient.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published