Using an Arena/ECS style library to describe parent/child relationship amongst children

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • fltk-rs

    Rust bindings for the FLTK GUI library.

  • I'm working on implementing a Drag and Drop system in my fltk-rs app, and in order to do so need some way for each draggable parent widget to "know" about the nodes in a droppable widget. Having access to a graph structure becomes even more important when we consider that their might be droppable widgets within droppable widgets, and that some droppable widgets might also be draggable widgets (see this example made with react-beautiful-dnd example).

  • entity_system

    A naive attempt at getting an Entity Sytem working backed by a generational arena (slotmap) and an AnyMap

  • Aha! Looks like rebo, who made that post, uses the same name on github and has a Entity System example! https://github.com/rebo/entity_system

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • vec-tree

    A safe tree using an arena allocator that allows deletion without suffering from the ABA problem by using generational indices. https://docs.rs/vec-tree/0.1.0/vec_tree/

  • Hmm looks like this example involves some dependencies to crate versions which have been yanked, and would require some substanial redesign to get working. List crate looks promising, however! https://github.com/ArnaudValensi/vec-tree

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts