Skip to content

Instantly share code, notes, and snippets.

View mickjc750's full-sized avatar
🎯
Focusing

Michael James Clift mickjc750

🎯
Focusing
  • Victoria Australia
View GitHub Profile
@mickjc750
mickjc750 / embedded_stream_plumbing.md
Created May 28, 2026 11:08
Stream Plumbing in Embedded Systems

Stream Plumbing in Embedded Systems

Introduction

Desktop operating systems provide powerful abstractions for moving data between software components. In POSIX systems, this is commonly achieved using file descriptors together with read() and write() operations.

For example:

  • a generator writes data to a file descriptor,
  • while a consumer reads data from it.
@mickjc750
mickjc750 / A_Printf_Extension_Example
Last active April 2, 2024 23:52
An example of how to extend printf() using a thread local arena to display custom data types.
...