What's is a rusty way to implement sharable trees?

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

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • xi-editor

    A modern editor with a backend written in Rust.

  • This is pretty much how copy-on-write ropes work. Check out xi-rope, Ropey or crop, they're all built using B-trees and implement the behavior you described.

  • ropey

    A utf8 text rope for manipulating and editing large texts.

  • This is pretty much how copy-on-write ropes work. Check out xi-rope, Ropey or crop, they're all built using B-trees and implement the behavior you described.

  • 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
  • crop

    🌾 A pretty fast text rope

  • This is pretty much how copy-on-write ropes work. Check out xi-rope, Ropey or crop, they're all built using B-trees and implement the behavior you described.

  • rust-analyzer

    A Rust compiler front-end for IDEs

  • Arc (or Rc if single threaded) sounds like a good fit since you mention immutability and no parent-pointers. If the lack of parent pointers or contextual information gets frustrating, I just want to mention the "Red/Green trees" approach used by Roslyn and rust-analyzer (link) where the "green tree" stores the data using basic Arcs and child pointers only, but later on you can create a "red tree" rooted at any green node which provides parent pointers as you navigate through the 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

  • Suitable Rust GUI Library for Code Editor?

    8 projects | /r/rust | 3 Dec 2022
  • Looking for a way to move files automatically based on certain rules/criteria

    1 project | /r/unRAID | 6 May 2022
  • What language for an IDE

    6 projects | /r/AskProgramming | 7 Mar 2022
  • Zed–A lightning-fast, collaborative code editor written in Rust

    4 projects | news.ycombinator.com | 15 Dec 2021
  • Rust-Analyzer Just Won't Attach!

    2 projects | /r/neovim | 7 Aug 2021