3 releases (breaking)

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

#1113 in Programming languages

Download history 33/week @ 2023-12-22 39/week @ 2023-12-29 28/week @ 2024-01-05 24/week @ 2024-01-12 13/week @ 2024-01-19 8/week @ 2024-01-26 15/week @ 2024-02-02 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 192/week @ 2024-04-05

384 downloads per month
Used in 14 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