Tag
A blog post introducing bx::Scanner, a small zero-copy, allocation-free set of scanning primitives that simplify writing parsers without full parser generators or complex PEG libraries.
This article explains how Go's io.Copy automatically uses sendfile and splice for zero-copy file transfers over TCP, and demonstrates how wrapping a file in a plain io.Reader—e.g., for logging—quietly disables this optimization, causing a significant performance drop. Benchmarks and strace output illustrate the impact.
A fast, zero-copy C11 library for reading and writing the Transit data format with SIMD acceleration, supporting JSON, JSON-Verbose, and MessagePack wire formats via a single codec-agnostic engine.
A technical deep-dive into implementing zero-copy page handling in Rust for a database engine, exploring how Rust's lifetime system enables safe zero-copy semantics between the buffer pool and upper database layers while using Direct I/O to bypass the OS page cache.