this post was submitted on 17 Feb 2024
346 points (98.9% liked)
Technology
59374 readers
7409 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Very mixed on this. If the compiler is for example using stuff like constexpr in C++ to do major calculations at compile time instead of at runtime then yeah its cheating.
But on the other hand if its doing some Microarchitecture specific optmizations like reordering instructions or replacing certain instructions with others - as long as these are available to the public its fair game i.m.o..
The article states that the compilation was tailored for this specific task, which means it doesn't represent how the CPU would normally perform it. So it's definitely cheating.
A benchmark is not supposed to be a compiler optimization competition. If they showed both, and revealed it was optimized, it would be another matter.
Even if the compiler was available to the public most software doesn't use it, so the benchmark is still not representative of real world performance.