Post

Replies

Boosts

Views

Activity

Comment on Clang 15.0 produces slow c++ applications
At this time clang 15.0 is 2 times slower than the previous version on Intel 2020 MacBook Pro and Sonoma I suppressed -march=native so have g++ -std=c++17 -Ofast -funroll-loops -flto -DNDEBUG -o a prog.cpp Any idea to improve performance ? So at this point we notice that gnu c++ or clang++ is 2 times faster than Apple clang on virtual machines like vmware and virtualbox emulating linux. The guest's compilers are running faster than the host ones ! A strange surprise .
Oct ’23