• Kirill Smelkov's avatar
    libgolang: Objects refcounting (initial draft) · e82b4fab
    Kirill Smelkov authored
    Since we are going to move more pygolang functionality into C++ (timers,
    context, ...), and since C++ does not have garbage collector, we will
    need to find a way to automatically manage memory in leak/error free way.
    
    Let's do this via refptr<T> smart pointer (inspired by WebKit's RefPtr<T>),
    which, similarly to chan<T> automatically manages pointed object's
    lifetime through reference counting.
    
    refptr<T> will be used in follow-up patches.
    
    Top-level documentation is TODO.
    e82b4fab
Name
Last commit
Last update
3rdparty/include/linux Loading commit data...
golang Loading commit data...
gpython Loading commit data...
.gitignore Loading commit data...
CHANGELOG.rst Loading commit data...
COPYING Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
pyproject.toml Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...
trun Loading commit data...