pn-editor VS ropey

Compare pn-editor vs ropey and see what are their differences.

ropey

A utf8 text rope for manipulating and editing large texts. (by cessen)
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
pn-editor ropey
7 4
- 984
- -
- 4.8
- about 1 month ago
Rust
- MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

pn-editor

Posts with mentions or reviews of pn-editor. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-22.

ropey

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

What are some alternatives?

When comparing pn-editor and ropey you can also consider the following projects:

RenPy - The Ren'Py Visual Novel Engine

crop - 🌾 A pretty fast text rope

TimedPetriNetEditor - [Application][Version 0.4.0][Functional] A timed Petri net and graph event editor and simulator combined to (max,+) algebra with wrapped API for Julia lang https://youtu.be/wsiF6u7DNVQ

Rope-Data-Structure-C - Implementation of a data structure that can store a string and efficiently cut a part (a substring) of this string and insert it in a different position

pns

vngine-rs