gnzlbg/slice_deque
View on GitHub ↗ ★ 160 Rust
A contiguous-in-memory double-ended queue that derefs into a slice
3 mentions on Hacker News by 2 people: 0 stories, 3 comments · first 2022-01-23 · latest 2025-04-04
20082026
-
On Unix-like platforms? sysv shared memory (shmget, etc). https://github.com/gnzlbg/slice_deque/blob/045fb28701d3b674b... does this. (Though that code looks racy to me; unmapping the second half's virtual address space before mapping again…
comment by scottlamb · 2025-04-04 · in Growing Buffers to Avoid Copying Data -
…the same thing then. I'm talking about setting up a mirrored allocation, as in this code here: < https://github.com/gnzlbg/slice_deque/tree/master/src/mirror... > or this code here: < https://github.com/mmaroti/vmcircbuf/blob/743e1f3622641e…
comment by scottlamb · 2024-03-01 · in A lock-free ring-buffer with contiguous reservations (2019) -
…how the deque currently wraps. This is the library I am using, the array contains an explanation : https://github.com/gnzlbg/slice_deque
comment by maxwell86 · 2022-01-23 · in Go is about to get faster