4 releases (2 breaking)

0.14.1 Jun 11, 2024
0.14.0 Apr 17, 2024
0.13.0 Apr 5, 2024
0.12.0 Oct 18, 2023

#1271 in Programming languages

Download history 51/week @ 2024-07-27 42/week @ 2024-08-03 30/week @ 2024-08-10 30/week @ 2024-08-17 44/week @ 2024-08-24 38/week @ 2024-08-31 31/week @ 2024-09-07 42/week @ 2024-09-14 54/week @ 2024-09-21 33/week @ 2024-09-28 3/week @ 2024-10-05 31/week @ 2024-10-12 19/week @ 2024-10-19 25/week @ 2024-10-26 24/week @ 2024-11-02 3/week @ 2024-11-09

72 downloads per month
Used in 16 crates (3 directly)

MIT license

20KB
472 lines

Memory management utilities for Koto

Currently, only reference-counted pointers without cycle detection are implemented. The intent is that this crate can be expanded in the future with implementations of Ptr and PtrMut that offer alternative memory management strategies.

Making custom GC types that support trait objects or other DSTs is currently only possible with nightly Rust, while the stabilization of DST custom coercions is pending [^1]. Until then, GC implementations for Ptr/PtrMut could be introduced with a nightly-only feature.

[^1] https://github.com/rust-lang/rust/issues/18598

Dependencies

~0–4.5MB