LibaCore v1.4.2
Minimal zero-allocation framing, checksummed ring buffers, and structured telemetry encoding for embedded Linux and edge services.
Deterministic Memory
Static buffer pools with compile-time upper bounds. Zero heap allocations on the hot path.
Compact Wire Framing
COBS + CRC-32C framing with 2-byte overhead for frames up to 64 KiB and instant resynchronization.
Portable C11 & FFI
Single header plus 4 compilation units. Clean ABI bindings for Rust, Go, and Python.
Quick Example
#include "libacore/frame.h"
uint8_t wire[512];
lc_encoder_t enc;
lc_encoder_init(&enc, wire, sizeof(wire));
lc_record_t rec = { .ts_ms = 1733116800000ULL, .channel = 2, .payload = buf, .len = 48 };
ssize_t n = lc_frame_encode(&enc, &rec);
if (n > 0) write_transport(wire, (size_t)n);
Build & Test
cmake -B build -DLC_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Release
cmake --build build -j
ctest --test-dir build --output-on-failure