3 releases (breaking)

0.14.0 Apr 17, 2024
0.13.0 Apr 5, 2024
0.12.0 Oct 18, 2023

#1147 in Programming languages

Download history 21/week @ 2024-02-09 39/week @ 2024-02-16 35/week @ 2024-02-23 37/week @ 2024-03-01 42/week @ 2024-03-08 39/week @ 2024-03-15 64/week @ 2024-03-22 87/week @ 2024-03-29 205/week @ 2024-04-05 193/week @ 2024-04-12 77/week @ 2024-04-19 56/week @ 2024-04-26 37/week @ 2024-05-03 32/week @ 2024-05-10 51/week @ 2024-05-17 43/week @ 2024-05-24

172 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–5MB