// PROJECT · SYSTEMS & NETWORKING
ThreadSafeCLogger
A high-performance thread-safe logging library for C. Per-thread SPSC ring buffers drained by a background logger thread — zero mutex contention on the write path. 15× throughput improvement over naive mutex approach.
- C
- Lock-Free
- POSIX Threads
- Ring Buffer
- Memory Ordering
A logging library designed so the hot path never blocks. Each producer thread owns a single-producer/single-consumer ring buffer; a dedicated background thread drains them and serializes writes. The result is zero mutex contention on the write path and roughly a 15× throughput improvement over a naive mutex approach.
View this project as Markdown — plain text for LLMs and agents
// MORE IN SYSTEMS & NETWORKING
A TCP/IP stack, firmware for small devices, and the C libraries under them. Another favourite.
SimpleSoftwareBasedTCPIPStack
A software TCP/IP stack built entirely in C — Ethernet framing, ARP resolution, IP routing, and TCP state machine via Linux TAP devices. Validates by fetching real HTTP content over the custom stack.
ESP32-MQTT-WOL
ESP32-based Wake-on-LAN trigger over MQTT. Sits on the LAN, subscribes to MQTT topics, and broadcasts WoL magic packets — built on ESP-IDF with FreeRTOS, lwIP, QoS 1, and hardware watchdog.
GenericCShellParserLib
A drop-in CLI parser library for C projects. Built-in commands (show, config, debug, clear) plus a registration API for custom commands. Supports tab completion and history via readline integration.