Learning Rust: recursive directories scan

· Users Rust Lang · Sept. 6, 2026, 10:52 p.m.
Summary
This blog post discusses various observations and recommendations for scanning recursive directories in Rust, highlighting the use of the nftw function for performance, file system behavior, error handling, and best practices in managing ignored directories and JSON processing. It raises questions about symlink handling and mounted device traversal as well.
AUTHOR
Sponsored
Zulip logo Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →