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

#4 in #koto

Download history 53/week @ 2024-08-25 30/week @ 2024-09-01 47/week @ 2024-09-08 34/week @ 2024-09-15 45/week @ 2024-09-22 33/week @ 2024-09-29 3/week @ 2024-10-06 31/week @ 2024-10-13 19/week @ 2024-10-20 26/week @ 2024-10-27 23/week @ 2024-11-03 5/week @ 2024-11-10 22/week @ 2024-11-17 53/week @ 2024-11-24 42/week @ 2024-12-01 211/week @ 2024-12-08

328 downloads per month
Used in 17 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