Hacker GitHub

← All repos

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

Mentions per year 3 mentions · busiest year 2022 (1)
20082026
  1. 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
  2. …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…
  3. …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