News for hackers. Stuff that matters.
Re:Go vs. Rust: Writing a CLI Tool by steveklabnik on Tuesday August 04, 2020 @07:43AM (#24048941)
Often, slow file reading means that you didn't use a BufReader, and are making more system calls than you need to.
Re:Go vs. Rust: Writing a CLI Tool by kryps on Tuesday August 04, 2020 @08:34AM (#24049290)
Tip: Rust BufReaders default to 8KiB buffers which are way too small for high-performance sequential NVME I/O.