J
John Wood
To be honest, I'm not a big fan of that article. The idea of writing
or C++ programmer, who are typically obsessed with writing faster code
rather than maintainable code.
Most of the time is considerably cheaper to buy faster hardware than it is
to waste weeks or even months of developer time maintaining messy and
bug-ridden "hand-optimized" code.
assembly. Or just find a blog of someone responsible for the JIT and ask
them...
I absolutely agree... I've had many arguments over this with your average Cthe fastest possible code all the time is not one which appeals to me -
I far prefer to write *elegant* code which is easy to read, write and
maintain, and optimise any code which actually *needs* to be as fast as
possible.
or C++ programmer, who are typically obsessed with writing faster code
rather than maintainable code.
Most of the time is considerably cheaper to buy faster hardware than it is
to waste weeks or even months of developer time maintaining messy and
bug-ridden "hand-optimized" code.
Probably the only way of telling is to ngen the code and analyze theNow, having said that, I'd have to look at exactly what is meant by
"constant folding" as far as the JIT is concerned. There may well be
things that the JIT can do which the compiler can't - they probably
have very different ideas of what a constant is.
assembly. Or just find a blog of someone responsible for the JIT and ask
them...