20 releases

0.6.8 Jan 11, 2024
0.6.7 Sep 28, 2023
0.6.6 Jul 17, 2023
0.6.3 Dec 21, 2022
0.4.2 Jun 14, 2019

#220 in Memory management

Download history 6/week @ 2024-01-08 43/week @ 2024-02-19 4/week @ 2024-02-26 31/week @ 2024-03-11 140/week @ 2024-04-01

140 downloads per month

MIT license

1.5MB
35K SLoC

C 33K SLoC // 0.2% comments Automake 741 SLoC // 0.1% comments C++ 505 SLoC // 0.2% comments Zig 399 SLoC // 0.1% comments HICAD 248 SLoC Rust 172 SLoC // 0.0% comments GNU Style Assembly 109 SLoC // 0.0% comments M4 23 SLoC // 0.4% comments Shell 11 SLoC // 0.6% comments

Contains (obscure autoconf code, 46KB) vendor/bdwgc/configure.ac, (obscure autoconf code, 9KB) vendor/libatomic_ops/configure.ac

bdwgc-alloc

GitHub Action Crate License

GlobalAlloc implementation for bdwgc, the conservative garbage collector.

This crate is for use cases in which developers need to integrate bdwgc into their programs written in Rust (e.g. writing a runtime library in Rust for their own programming language whose GC is done by bdwgc.)

Usage

See examples directory.

By default bdwgc is built with autotools. To build with cmake, enable the cmake feature:

cargo build --no-default-features --features cmake

License

MIT

Dependencies