I haven't tried C++.
I have a 2021 M1 and a Linux laptop with a i7-11700 desktop CPU.
And compiling takes shorter on my computers than a lot of other computers.