3 releases (breaking)

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

#1130 in Programming languages

Download history 54/week @ 2024-01-01 23/week @ 2024-01-08 24/week @ 2024-01-15 4/week @ 2024-01-22 7/week @ 2024-01-29 20/week @ 2024-02-05 33/week @ 2024-02-12 26/week @ 2024-02-19 57/week @ 2024-02-26 32/week @ 2024-03-04 33/week @ 2024-03-11 37/week @ 2024-03-18 79/week @ 2024-03-25 243/week @ 2024-04-01 41/week @ 2024-04-08 223/week @ 2024-04-15

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

MIT license

20KB
472 lines

Koto


Docs Crates.io CI Discord


Koto is a simple and expressive programming language, usable as an extension language for Rust applications, or as a standalone scripting language.

Info

MSRV

Koto is under active development, and tested against the latest stable release of Rust.


lib.rs:

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–6MB