1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Note: The LIBCMM project was launched in April 2009. A first official release (version 0.9) is in the works.

LIBCMM is a small garbage collection facility for C programs. Instead of using malloc to allocate dynamic memory, use mm_alloc and forget about calling free, because LIBCMM will do it for you. LIBCMM is free software.

The slightly longer story is that you need to do a little more work besides replacing malloc and tell LIBCMM about references (pointers) in your data structures by defining "memory types". The amount of extra code for this is small, though. The Lush2 programming system, for instance, defines 19 memory types. (Lush is a Lisp interpreter powered by LIBCMM.)

LIBCMM Resources

GC Resources

Acknowledgements

LIBCMM would not have been written without sponsorship through Google's Summer of Code program. I've got lots of help from Keith Packard and Bart Massey.

Trac Pointers

For a complete list of local wiki pages, see TitleIndex.