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

#363 in Memory management

Download history 15/week @ 2024-09-09 2/week @ 2024-09-16 70/week @ 2024-09-23 37/week @ 2024-09-30 13/week @ 2024-10-07 88/week @ 2024-10-14 17/week @ 2024-10-21 61/week @ 2024-10-28 71/week @ 2024-11-04 26/week @ 2024-11-11 72/week @ 2024-11-18 30/week @ 2024-11-25 390/week @ 2024-12-02

519 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