1. 3
  1.  

    1. 1

      Rust’s VecDeque exposes its contents as two slices. With memory mapping tricks it’s possible to map the same page of memory twice, and get a ring buffer that looks like one contiguous slice (there are some libraries for this).