zero-copy

Tag

Cards List
#zero-copy

Parsers don't have to be complicated

Hacker News Top · 2026-07-29 Cached

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.

0 favorites 0 likes
#zero-copy

Zero-copy in Go: sendfile, splice, and the cost of io.Copy

Hacker News Top · 2026-07-05 Cached

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.

0 favorites 0 likes
#zero-copy

A fast, zero-copy Transit-format reader and writer written in C

Lobsters Hottest · 2026-06-08 Cached

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.

0 favorites 0 likes
#zero-copy

Zero-Copy Pages in Rust: Or How I Learned to Stop Worrying and Love Lifetimes

Hacker News Top · 2026-04-16 Cached

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.

0 favorites 0 likes
← Back to home

Submit Feedback