21 releases

0.6.9 Aug 11, 2024
0.6.8 Jan 11, 2024
0.6.7 Sep 28, 2023
0.6.6 Jul 17, 2023
0.4.2 Jun 14, 2019

#359 in Memory management

Download history 6/week @ 2024-08-17 5/week @ 2024-09-07 12/week @ 2024-09-14 69/week @ 2024-09-21 26/week @ 2024-09-28 23/week @ 2024-10-05 71/week @ 2024-10-12 36/week @ 2024-10-19 38/week @ 2024-10-26 93/week @ 2024-11-02 21/week @ 2024-11-09 65/week @ 2024-11-16 41/week @ 2024-11-23 117/week @ 2024-11-30

266 downloads per month

MIT license

1.5MB
36K SLoC

C 33K SLoC // 0.2% comments Automake 741 SLoC // 0.1% comments Zig 569 SLoC // 0.1% comments C++ 515 SLoC // 0.2% 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 21 SLoC // 0.5% 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