Re:Java running faster than C (2007)
by dguaraglia on Wednesday August 15, 2012 @12:58PM
(#4386873)
Jesus, when will people stop posting this kind of "X faster than C" benchmarks? They are completely misleading and irrelevant.
Next time someone is tempted please remember:
- You are comparing apples to oranges (interpreters to compiled languages, bigint libraries to hardware-level ints, etc.)
- What a C compiler does on one particular architecture running under a particular OS is not representative of C performance
- You are most probably benchmarking just a tiny subset of what the language can do, and in most cases that subset is irrelevant in 99% of uses (e.g. "float comparison faster in Blub". Who cares if most people are using Blub to build webpages?)
- Finally and most importantly: WHO CARES? Unless it affects a part of the code I'm using extensively it will only affect performance tangentially, if at all.
Next time someone is tempted please remember:
- You are comparing apples to oranges (interpreters to compiled languages, bigint libraries to hardware-level ints, etc.)
- What a C compiler does on one particular architecture running under a particular OS is not representative of C performance
- You are most probably benchmarking just a tiny subset of what the language can do, and in most cases that subset is irrelevant in 99% of uses (e.g. "float comparison faster in Blub". Who cares if most people are using Blub to build webpages?)
- Finally and most importantly: WHO CARES? Unless it affects a part of the code I'm using extensively it will only affect performance tangentially, if at all.
EDIT: formatting