TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Using black magic to make a fast circular buffer (2017)

2 pointsby osivertsson5 months ago

2 comments

gnabgib5 months ago
Also known as The <i>Bip Buffer</i> (from 2003) <a href="https:&#x2F;&#x2F;www.codeproject.com&#x2F;articles&#x2F;3479&#x2F;the-bip-buffer-the-circular-buffer-with-a-twist" rel="nofollow">https:&#x2F;&#x2F;www.codeproject.com&#x2F;articles&#x2F;3479&#x2F;the-bip-buffer-the...</a>
thesnide5 months ago
Hmmm... wondering why using arcane memfd_create() instead of simply opening a regular file on a tmpfs filesystem, such as &#x2F;dev&#x2F;shm.