r/ProgrammingLanguages • u/elemenity • Mar 04 '26
Comparing Scripting Language Speed
https://www.emulationonline.com/posts/comparing-scripting-language-speed/
10
Upvotes
r/ProgrammingLanguages • u/elemenity • Mar 04 '26
View all comments
Show parent comment
1
u/glasket_ Mar 07 '26
I wouldn't expect that much of a difference between
OfastandO3for this. The only differences are-ffast-math,-fallow-store-data-races, and-fno-semantic-interposition; the former two shouldn't impact this because it doesn't use float or multithreading, while the latter shouldn't cause a performance hit.Did you try multiple runs to aggregate the results? A single run each is likely to mean the 10% is just noise.