https://github.com/maxritter/cppnd-garbage-collector
Own implementation of a C++ garbage collector, similar to a smart pointer
https://github.com/maxritter/cppnd-garbage-collector
Last synced: about 1 year ago
JSON representation
Own implementation of a C++ garbage collector, similar to a smart pointer
- Host: GitHub
- URL: https://github.com/maxritter/cppnd-garbage-collector
- Owner: maxritter
- Created: 2019-06-10T08:20:06.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-10T11:27:58.000Z (about 7 years ago)
- Last Synced: 2025-02-17T14:49:39.210Z (over 1 year ago)
- Language: C++
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CppND-Garbage-Collector
In this project, a garbage collector is implemented in C++, similar to the functionality of a smart pointer.
The garbage collector works by creating a new pointer type that provides built-in support for garbage collection based on reference counting. The garbage collector is single-threaded, which means that it is quite portable and does not rely upon (or make assumptions about) the execution environment.
## Compilation
`g++ -o gc.out main.cpp -std=c++1y -Wall`
## Execution
`./gc.out`