3 ms·
I don't think you lose three orders of magnitude of performance with a high level language. What a modern C compiler produces with a little help from the progra
by adrianN 8y ago
I don't think you lose three orders of magnitude of performance with a high level language. What a modern C compiler produces with a little help from the programmer should be reasonably close to what you can achieve by hand. Even slow languages like Python are not a thousand times slower than C. Maybe a hundred times.
- lm28469 8y ago> What a modern C compiler produces with a little help from the programmer should be reasonably close to what you can achieve by hand. Unless you're an expert in ASM / have an unlimited amount of time / work on an extreme edge case I'd say the compiler will beat a human 99.9/100
- dspillett 8y agoI'm not sure I'd go as far as "beat a human 99.9/100", certainly not beat by a significant amount, but definitely "at least equal a human 99.9/100". Of course that 1‱ where the human wins could be large wins, but then you have to consider if they are in positions that actually matter i.e. tight loops.