Hacker GitHub

← All repos

josephg/jumprope-rs

View on GitHub ↗ ★ 152 Rust

8 mentions on Hacker News by 2 people: 0 stories, 8 comments · first 2022-08-09 · latest 2026-06-16

Mentions per year 8 mentions · busiest year 2023 (4)
20082026
  1. …that I was too overwhelmed to write in C. The rust code is now ~2-3x faster. If you're interested: https://github.com/josephg/jumprope-rs#benchmarks C code is here: https://github.com/josephg/librope
  2. …its incredibly subtle. Here's an unsafe function which manages the internal state of a skip list: https://github.com/josephg/jumprope-rs/blob/3981256e4e741d8b... This code is insanely fragile. There are multiple pointers to different…
    comment by josephg · 2025-11-24 · in Several core problems with Rust
  3. …better performance. If anyone is curious, C / rust code is here: https://github.com/josephg/librope https://github.com/josephg/jumprope-rs > BUT. the cultural characteristics of the programmers are only one-quarter of the story. The bigger…
    comment by josephg · 2025-09-14 · in Safe C++ proposal is not being continued
  4. …feels similar to a piece table, where edits are stored separately and then joined for reading. [1] https://github.com/josephg/jumprope-rs/issues/5
    comment by celeritascelery · 2023-10-09 · in Text showdown: Gap Buffers vs. Ropes
  5. …and then call check() to make sure the contents match and all the internal invariants hold. [1] https://github.com/josephg/jumprope-rs/blob/ae2a3f3c2bc7fc1f... When I first ran this test, it found a handful of bugs in my code. I also ran…
  6. …looks like this, if anyone is curious. Here’s a fuzzer for a rope (fancy string) implementation: https://github.com/josephg/jumprope-rs/blob/master/tests/tes...
  7. …https://github.com/josephg/diamond-types/blob/3eb48478fd879e... And here's a simple fuzz tester: https://github.com/josephg/jumprope-rs/blob/318e87d3aae1b2a0...
  8. …for runtime speed, I'd pick rust over C every time. [1] https://github.com/josephg/librope [2] https://github.com/josephg/jumprope-rs
    comment by josephg · 2022-08-09 · in The case against a C alternative