Tuning your software makes it use hardware capabilities more effectively. Writing high-performance code is usually more complex than just following a set of rules. Most often, it involves making trade-offs between special functionality, quality, and performance for a particular application.