baker-gc
bdwgc
baker-gc | bdwgc | |
---|---|---|
2 | 14 | |
4 | 2,808 | |
- | - | |
10.0 | 9.7 | |
over 3 years ago | 7 days ago | |
C | C | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
baker-gc
-
Tricking the garbage collector with unsigned longs?
You may want to look at MCC and Baker's GC. I haven't read the papers yet myself but my (maybe wrong) understanding is that you will have two kinds of marked objects on the heap: "unsure" ones which a conservative scan found (eg. may be from an integer looking like a pointer) and "sure" ones (that are referenced from other marked objects). You will have to pin unsure objects (because you cannot adjust its pointer if that pointer is in fact an integer), but you are free to move, amd so mark-and-compact the sure objects.
bdwgc
-
Writing a Simple Garbage Collector in C (2020)
Boehm GC is mentioned in the article: https://github.com/ivmai/bdwgc
- Boehm-Demers-Weiser Garbage Collector
- Sound like some C stuff
-
Tricking the garbage collector with unsigned longs?
This stuff is all implementation dependent. The Boehm garbage collector has been wrestling with the compilers for years regarding these issues, see its development repo.
-
Any good resources to learn how to implement Automated Reference Counting in C99?
Any kind of automatic GC is going to be rare in C. The only automatic garbage collection that I am aware of is the BDW garbage collector abet that uses mark and sweep instead of reference counting https://github.com/ivmai/bdwgc
- Why isn't there a GCed variant of C++ that'd be functionally like Java, but with C++'s syntax?
-
Small (EXPERIMENTAL RESEARCH) project I made to add a reference counter GC to clang (specifically clang, will change) C
My dude have you heard of Boehm GC
What are some alternatives?
nixos-flake-example - This is a demo NixOS config, with optional flakes support. Along with notes on why flakes is useful and worth adopting.
mmtk-core - Memory Management ToolKit
kcgi - minimal CGI and FastCGI library for C/C++
VulkanMemoryAllocator - Easy to integrate Vulkan memory allocation library
lisp - A mini Lisp in 1k lines of C with garbage collector, explained. Includes over 40 built-in Lisp primitives, floating point, strings, closures with lexical scope, macros, proper tail recursion, exceptions, execution tracing, file loading, a mark-sweep/compacting garbage collector and REPL.
reproc - A cross-platform (C99/C++11) process library
nix - Nix, the purely functional package manager
lisp-cheney - A mini Lisp in 1k lines of C with Cheney's copying garbage collector, explained. Includes over 40 built-in Lisp primitives, floating point, strings, closures with lexical scope, macros, proper tail recursion, exceptions, execution tracing, file loading, a copying garbage collector and REPL.
whereami - Locate the current running executable and the current running module/library on the file system 🔎
ManagedC - Reference counter for C
sgcl - Smart Garbage Collection Library for C++
c - Visual Studio Code C/C++ development