C or C ++ heap memory management implementations

Can anyone point me to a few open source heap implementations that are not part of a huge library like GLIB.

I need one with the following functions:

  • Single threaded
  • The entire heap can be freed in one call.
  • Small size because I need to use one heap for each list / tree widget in my GUI.

I think there should be a lot of existing material. I remember that I had to perform a simple first-line heap dispenser in university courses twice.

For C ++, it should not use standard C ++ libraries or templates.

+3
source share

Source: https://habr.com/ru/post/1769404/


All Articles