Featured lists
0 appearancesThis blog has not appeared on a published list.
BlogFeatured 0 times
matklad's Arts&Crafts
This blog has not appeared on a published list.
When implementing software modules, avoid having public functions call other public functions by creating a private helper function instead.
Git's refs, an implementation detail powering branches and tags, are a mutable key-value store that can be confusing due to shorthand notation and name reuse.
Micro benchmarks should run for approximately 300ms to balance precision, avoid fixed cost skew, and remain human-perceptible for intuitive analysis.
Generative testing with a custom fuzzer discovered bugs in the Rust regex crate by comparing its output against a simpler regex implementation.
Static allocation after initialization, limiting the number of orders, offers a robust solution to memory safety issues in systems like order matching engines.
This note distinguishes between synchronous cancelation as control flow, asynchronous cancelation as a communication protocol, and graceful shutdown as an application pattern.
Rust Glancer, a functional LSP server for Rust, uses significantly less RAM by analyzing dependencies differently than rust-analyzer.
The quality of a programming language's standard library depends on its social architecture and institutional capacity, not just its size, as seen in Python, Go, and Rust.
A concise idiom for printing a comma-separated list involves optionally printing the comma before each element in a loop.
Zig's std.Io.Threaded provides a novel way to reliably cancel blocking syscalls using signals and shared memory flags.