News for hackers. Stuff that matters.
Re:No sane compiler would optimize atomics (2015) by umanwizard on Monday July 12, 2021 @01:02PM (#27812457)
I’d be curious to know what benchmarks you’re using on which O0 is only 5% slower. I suspect your program must be almost entirely IO-bound, if this is the case. In that case, Python, Ruby, or shell probably wouldn’t be much slower either.
Re:No sane compiler would optimize atomics (2015) by overgard on Monday July 12, 2021 @03:40PM (#27814144)
Writing games, I've rarely seen the optimizer do anything of substantial use.