kyren / gc-arena

Incremental garbage collection from safe Rust
Creative Commons Zero v1.0 Universal
433 stars 36 forks source link

Please define "DST" in README #98

Open bbkane opened 1 month ago

bbkane commented 1 month ago

Allocating DSTs is currently somewhat painful due to limitations in Rust. It is possible to have Gc pointers to DSTs, and there is a replacement for unstable Unsize coercion, but there is no support for directly allocating arbitrarily sized DSTs.

Apologies if this is a well-known acronym, but some Google searches couldn't find it. Maybe it means "dynamically sized type" like a list in Python?

Thanks!!

Screenshot_20240503-062007

Screenshot_20240503-061931

TheMatten commented 1 month ago

Try "rust dst" - these are "Dynamically Sized Types", but in a slightly different sense compared to Python: https://doc.rust-lang.org/reference/dynamically-sized-types.html