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
20082026
-
…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
comment by josephg · 2026-06-16 · in How memory safety CVEs differ between Rust and C/C++ -
…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 -
…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 -
…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 -
…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…
comment by josephg · 2023-05-05 · in How to Survive Your Project's First 100k Lines -
…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...
comment by josephg · 2023-02-02 · in Google's OSS-Fuzz expands fuzz-reward program -
…https://github.com/josephg/diamond-types/blob/3eb48478fd879e... And here's a simple fuzz tester: https://github.com/josephg/jumprope-rs/blob/318e87d3aae1b2a0...
comment by josephg · 2023-01-01 · in Adding design-by-contract conditions to C++ via a GCC plugin -
…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