sord is a C++ library that wraps around the operating system API for reading directories. It is cross-platform and thread-safe.