bdwgc
nixos-flake-example
bdwgc | nixos-flake-example | |
---|---|---|
14 | 3 | |
2,795 | 166 | |
- | - | |
9.7 | 1.8 | |
2 days ago | almost 3 years ago | |
C | Nix | |
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.
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
nixos-flake-example
-
Tvix: We Are Rewriting Nix
There are some technical objections to the design of flakes, but the controversy in the community is primarily social imo.
The reading I'd recommend as someone sympathetic to both 'sides' isn't really a technical comparison, but this: https://grahamc.com/blog/flakes-are-an-obviously-good-thing
As far as technical pros and cons, it's worth looking at colemickens' PoC demonstrating that in principle, you can use Nix to generate literally identical output with and without flakes: https://github.com/colemickens/nixos-flake-example
-
How can I pass other stuff to modules in NixOS?
My limited knowledge of flakes for my system comes mostly from https://github.com/colemickens/nixos-flake-example/
- Using a local nixpkgs repo for packages
What are some alternatives?
mmtk-core - Memory Management ToolKit
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
kcgi - minimal CGI and FastCGI library for C/C++
home-manager - Manage a user environment using Nix [maintainer=@rycee] [Moved to: https://github.com/nix-community/home-manager]
VulkanMemoryAllocator - Easy to integrate Vulkan memory allocation library
fenix - Rust toolchains and rust-analyzer nightly for Nix [maintainer=@figsoda]
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.
dotfiles - My personal dotfiles
reproc - A cross-platform (C99/C++11) process library
nixpkgs - Nix Packages collection & NixOS
nix - Nix, the purely functional package manager