Tips and Tricks

How to Query File Attributes 50x faster on Windows

TL;DR If your app scans thousands of files, the way you fetch file attributes can quietly destroy performance. Standard methods like GetFileAttributesEx or even std::filesystem are convenient but painfully slow at scale. By switching to faster Windows APIs like FindFirstFileEx or GetFileInformationByHandleEx , you can retrieve attributes while iterating directories, cutting expensive system…
Read more
Tips and Tricks

A Brief Introduction To Clang-Tidy And Its Role in Visual Assist

TL;DR Clang-tidy is a C++ static analysis tool built on Clang that helps developers detect bugs, enforce coding standards, and modernize code. It can identify issues like inefficient patterns, outdated syntax, and potential errors, and even apply automatic fixes in some cases. While powerful, clang-tidy can sometimes produce incorrect or incomplete fixes, so manual review is still essential. It…
Read more