In the future we plan to use fmt for writing files and scnlib for reading files. Both libraries make their case that you should avoid using streams for performance reasons. Feel free to check benchmarks at GitHub - eliaskosunen/scnlib: scanf for modern C++ and GitHub - fmtlib/fmt: A modern formatting library.