Nav apraksta

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

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