Skip to content

C++23 mandelbrot Damian Höster

Compile like this:

g++ -std=c++23 -O3 -march=native -fopenmp

The code is portable, and pretty idiomatic, or at least will be in C++26 when the simd library is moved out of experimental. In my testing, performance is significantly better than of all the other implementations so far.

mandelbrot-c++-simd.cpp