Hacker News new | ask | show | jobs
Show HN: I made a fast file explorer for Windows (github.com)
3 points by Drimiteros 441 days ago
The application is open-source and developed in C++20, utilizing SFML for its user interface. It leverages the modern C++ filesystem library to efficiently locate files specified by the user.
1 comments

`fs::recursive_directory_iterator` Oof. You might want to look into how voidtools' Everything works before calling this "efficient." (The fastest windows search tools don't actually recurse the filesystem, but instead read the NTFS Master File Table (MFT) directly.)

Also, a bit of advice: separate your business logic (file searching) from your UI logic (rendering the GUI). That'll make refactoring (and unit testing) much easier and helps to avoid tangled spaghetti code as you start building larger applications.