Un naufragio personal

Ángel Ortega

Using black magic to make a fast circular buffer

Specifically, using mmap() to map a block of memory twice to implement a circular buffer:

https://lo.calho.st/posts/black-magic-buffer/