From Jason Turner
Watch on YouTube

Summary

This episode demonstrates the remarkable performance improvements possible with C++17's parallel algorithms library. Jason showcases a Mandelbrot set renderer that achieves nearly perfect parallelization by simply adding an execution policy parameter to std::transform. The demonstration shows how a calculation that initially took around 1.9 seconds becomes approximately 6 times faster (0.3 seconds) when utilizing all available CPU cores, with minimal code changes required. The episode highlights how trivially parallelizable problems like the Mandelbrot set calculation can benefit dramatically from this C++17 feature.

Resources

Tags