Where does a typical code run faster (and what is the order):- Windows 10 OS, Ubuntu WSL, Ubuntu WSL-2 or Ubuntu OS? My focus is on the performance of compiled codes. Also, what is the reason behind the order?
My guess is that performance of compiled codes does not depend on where you code them, and rather depends on the processor specifications(please correct me if I am wrong).