Chapter    4

Speeding Up Games with Concurrent Programming

Processor manufacturers have hit a ceiling on the number of cycles their CPUs can execute per second. This can be seen with modern CPUs in desktop computers, tablets, and mobile phones where CPU speeds are rarely seen over the 2.5 Ghz mark.

CPU manufacturers have taken to adding more and more cores to their CPUs to provide more and more performance. The Xbox One, PlayStation 4, Samsung Galaxy phones, and desktop CPUs all have access to eight CPU cores to execute programs. This means that programmers of modern software need to embrace multithreaded, concurrent programming if they wish their programs to get the most out of modern computing devices and feel fluid and responsive for their ...

Get C++ Game Development Primer now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.