Skip to content

Comment on Go vs. Rust: Writing a CLI Toolparent

Comments

Often, slow file reading means that you didn't use a BufReader, and are making more system calls than you need to.

Tip: Rust BufReaders default to 8KiB buffers which are way too small for high-performance sequential NVME I/O.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.