Change tracking and replication with leech2

leech2 is a tool for tracking and replicating changes to CSV-based tables. It uses a git-like content-addressable block chain to store deltas and can generate SQL statements for replaying changes on target databases.

Atomic file operations with zeugl

I wrote zeugl, a small C library that provides atomic file operations. It offers drop-in replacements for open(2) and close(2), using temporary files and rename(2) to ensure updates are never partially written.

Efficient file streams with librsync

I recently wrote a blog post on implementing efficient file streams with librsync.

Optional arguments with getopt_long(3)

In this blog post, I answer a commonly asked question on how to parse optional arguments with getopt_long(3).

© larsewi 2026