#gc #bdwgc

bdwgc-alloc

impl GlobalAlloc for bdwgc

19 releases

0.6.7 Sep 28, 2023
0.6.6 Jul 17, 2023
0.6.5 May 21, 2023
0.6.3 Dec 21, 2022
0.4.2 Jun 14, 2019

#190 in Memory management

Download history 7/week @ 2023-07-31 27/week @ 2023-08-07 27/week @ 2023-08-14 2/week @ 2023-08-21 48/week @ 2023-08-28 27/week @ 2023-09-04 13/week @ 2023-09-11 10/week @ 2023-09-18 31/week @ 2023-09-25 13/week @ 2023-10-02 5/week @ 2023-10-09 8/week @ 2023-10-16 13/week @ 2023-10-23 34/week @ 2023-10-30 8/week @ 2023-11-06 28/week @ 2023-11-13

83 downloads per month

MIT license

1.5MB
35K SLoC

C 33K SLoC // 0.2% comments Automake 742 SLoC // 0.1% comments C++ 505 SLoC // 0.2% comments Rust 172 SLoC GNU Style Assembly 109 SLoC // 0.0% comments Shell 11 SLoC // 0.6% comments

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