MaJerle/lwrb
Lightweight generic ring buffer manager library observed · 2026-08-28
Health v2 · maintenance only
87/100
- Activity 98
- Release rhythm 65
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2789
- days_rel: 20
- days_push: 12
- n_releases_24m: 1
Adoption not part of the score
1526 stars · 352 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
lwrb is a lightweight, platform-independent C library implementing a generic FIFO ring (cyclic) buffer with no dynamic memory allocation. It supports zero-copy DMA transfers, peek/skip/advance operations, event notifications, and is thread/interrupt-safe for single-producer single-consumer use on CPUs with atomic size_t access.
Use cases
- implement a fifo byte buffer in embedded c
- buffer uart or spi data with dma zero-copy
- single producer single consumer pipe between isr and main loop
- cyclic buffer without dynamic memory allocation
- peek and skip bytes in a stream buffer
- ring buffer for serial communication on stm32
When to choose
- you need a small, dependency-free C ring buffer for embedded systems
- you want interrupt/DMA-safe single-writer single-reader buffering
- no dynamic allocation is allowed on your target
When to avoid
- you need multi-producer multi-consumer thread-safe queues
- you want a high-level language buffer with dynamic resizing
- your platform requires atomic protection you cannot provide
Facets
library · maturity stable
caching concurrency developer-tools embedded-systems developer-tools c embedded cross-platform windows ring-buffer fifo no-dynamic-allocation dma interrupt-safe embedded-c algorithms linux macos
1 source
- readme: https://github.com/MaJerle/lwrb · fetched 2026-08-28 · d8b49b94f4ea
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| MaJerle/lwrb | main | 87 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem