Preferring Compile-time Errors over Runtime Errors with Vulkan-hpp

Originally published at: https://developer.nvidia.com/blog/preferring-compile-time-errors-over-runtime-errors-with-vulkan-hpp/

One of the most important aspects in professional software development is to detect errors as early as possible. Of course, the best case would be if we couldn’t even write erroneous code. The next best thing is errors that the compiler can detect. The worst cases are runtime errors. The hardest ones are hidden in…