bbqueue

A SPSC, lockless, no_std, thread safe, queue, based on BipBuffers (by jamesmunns)

Bbqueue Alternatives

Similar projects and alternatives to bbqueue

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better bbqueue alternative or higher similarity.

bbqueue reviews and mentions

Posts with mentions or reviews of bbqueue. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-25.
  • A bug that doesn’t exist on x86: Exploiting an ARM-only race condition
    6 projects | news.ycombinator.com | 25 Oct 2021
    I particularly like lock-free (wait-free?) SPSC queues because they're (relatively) easy to get right, and are extremely useful for buffering in embedded systems. I end up with something like this on almost every project:

    One side of the queue is a peripheral like a serial port that needs to be fed/drained like clockwork to avoid losing data or glitching (e.g. via interrupts or DMA), and the other side is usually software running on the main thread, that wants to be able to work at its own pace and also go to sleep sometimes.

    An SPSC queue fits this use-case nicely. James Munns has a fancy one written in Rust [1], and I have a ~100 line C template [2].

    [1] https://github.com/jamesmunns/bbqueue

    [2] https://gist.github.com/ohazi/40746a16c7fea4593bd0b664638d70...

  • A GPIO Driver in Rust
    7 projects | news.ycombinator.com | 19 Jul 2021
    I would be interested in what you think of something like BBQueue:

    https://github.com/jamesmunns/bbqueue

Stats

Basic bbqueue repo stats
2
389
5.2
5 months ago

jamesmunns/bbqueue is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of bbqueue is Rust.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com