ropey

A utf8 text rope for manipulating and editing large texts. (by cessen)

Ropey Alternatives

Similar projects and alternatives to ropey

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better ropey alternative or higher similarity.

ropey reviews and mentions

Posts with mentions or reviews of ropey. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-26.
  • Text Editor: Data Structures
    5 projects | news.ycombinator.com | 26 Dec 2023
    > The worst way to store and manipulate text is to use an array.

    Claim made from theoretical considerations, without any actual reference to real-world editors. The popular Micro[1] text editor uses a simple line array[2], and performs fantastically well on real-world editing tasks.

    Meanwhile, ropes are so complicated that even high-quality implementations have extremely subtle bugs[3] that can lead to state or content corruption.

    Which data structure is "best" is not just a function of its asymptotic performance. Practical considerations are equally important (arguably more so).

    [1] https://github.com/zyedidia/micro

    [2] https://github.com/zyedidia/micro/blob/master/internal/buffe...

    [3] https://github.com/cessen/ropey/pull/67

  • What's is a rusty way to implement sharable trees?
    4 projects | /r/rust | 17 Apr 2023
    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.
  • Is there any data type that's suitable for heavy string modifications? using String is super slow
    1 project | /r/rust | 31 Aug 2022
    This seems promising, though there doesn't seem to be replace function but there is an example: https://github.com/cessen/ropey/blob/d9c841b2ef4ae7ea97c13a99fc26b36ae14ebe12/examples/search_and_replace.rs
  • Text editing crate
    2 projects | /r/rust | 20 Jun 2022
    xi is somewhat of an over-engineered mess (also according to the author themselves), I've found https://github.com/cessen/ropey to be an all round amazing alternative
  • A note from our sponsor - SaaSHub
    www.saashub.com | 6 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic ropey repo stats
4
976
4.8
28 days ago

cessen/ropey is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of ropey is Rust.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com