Sen descrición

rexim f17f6e826c Put the screencast links at the top %!s(int64=4) %!d(string=hai) anos
thumbnails 4913122a38 Scale down the thumbnails %!s(int64=4) %!d(string=hai) anos
.gitignore 1d621d3c29 Add .gitignore %!s(int64=4) %!d(string=hai) anos
LICENSE 8fc13367b0 Release everything under MIT license %!s(int64=4) %!d(string=hai) anos
Makefile 433ba4b5c9 Extract heap implementation into a separate translation unit %!s(int64=4) %!d(string=hai) anos
README.md f17f6e826c Put the screencast links at the top %!s(int64=4) %!d(string=hai) anos
heap.c 19af73e195 Implement heap_collect() %!s(int64=4) %!d(string=hai) anos
heap.h 19af73e195 Implement heap_collect() %!s(int64=4) %!d(string=hai) anos
jim.h 36c0e7349c Implement a simple binary tree generator %!s(int64=4) %!d(string=hai) anos
main.c 19af73e195 Implement heap_collect() %!s(int64=4) %!d(string=hai) anos

README.md

Artifacts of those Memory Management Tsoding Sessions

thumbnail thumbnail

Quick Start

$ make
$ ./heap

Limitations

  • The pointers to the heap can only be located in the heap and the stack.
  • No packed structs. All of the pointers should be aligned.
  • No tricks that obscure the pointers (like XOR Linked Lists).
  • Probably works only on x86_64
  • Probably works only when compiled with GCC