News for hackers. Stuff that matters.
Re:Ropey – A UTF8 text rope for manipulating and editing lar... by itishappy on Wednesday January 15, 2025 @12:11PM (#42713765)
Zed uses something similar to ropes as well:

https://zed.dev/blog/zed-decoded-rope-sumtree

Re:Ropey – A UTF8 text rope for manipulating and editing lar... by PittleyDunkin on Wednesday January 15, 2025 @12:32PM (#42714095)
Zed seems to be a gui-oriented editor here: https://zed.dev/
Re:Ropey – A UTF8 text rope for manipulating and editing lar... by supriyo-biswas on Wednesday January 15, 2025 @12:48PM (#42714380)
You still need a backing data structure that holds the contents of your editor, and that's where you'd use a rope.
Re:Ropey – A UTF8 text rope for manipulating and editing lar... by infogulch on Wednesday January 15, 2025 @01:10PM (#42714717)
Zed's Sum Tree is my favorite datastructure ever and is the future of database indexes.
Re:Ropey – A UTF8 text rope for manipulating and editing lar... by senderista on Wednesday January 15, 2025 @05:23PM (#42717992)
I think this is what Guy Steele called a "monoid-cached tree":

https://www.youtube.com/watch?v=ftcIcn8AmSY

Re:Ropey – A UTF8 text rope for manipulating and editing lar... by infogulch on Friday January 17, 2025 @12:05AM (#42734281)
Cool talk, thanks for sharing!