Smieciuch++ is a tiny and portable precise garbage collection library for C++. It is lightweight and easy to integrate into an existing project. The code is nearly pure standard C++, so it's also very portable. Precise collection means that the library knows what is a pointer and does not need to guess (as typical GC solution does).
| Tags | Software Development Libraries Compilers Other/Nonlisted Topic |
|---|---|
| Operating Systems | OS Independent |
| Implementation | C++ |
Recent releases


Changes: A critical flaw which corrupted memory when new(GC) was called inside a constructor called by another new(GC) was fixed. Fixes were made for MSVC 6.0 compilation problems. A new method was devised for dynamically determining when to collect garbage. This brings better performance without fine tuning. The initial collection threshold was increased from 256KB to 4MB of allocated data. Assertions for smart pointer validity was added for debug builds. The source and makefiles were cleaned up a bit.


Changes: This release fixes a problem with too much consumption of stack, which occurred as garbage collector scanned deeply nested recursive structures like long linked lists, leading on some platforms to stack overflow. It compiles cleanly on GCC 4.0. It is about 10% faster than boost::shared_ptr (as measured in heavy pointer use benchmark).


No changes have been submitted for this release.


Changes: This version of the library adds smart pointers to constant data and weak pointers. There are bugfixes and other changes like support for std::less over the smart pointers, allowing to use them as ordering values in standard C++ collections.


Changes: This release adds a lot of new features, the most important being smart pointers to constant data and weak pointers. Besides that, there are bugfixes and other changes like support for std::less over Smieciuch's smart pointers, allowing to use them as ordering values in standard C++ collections.