3 ms·
> If you write crappy code and expect the compiler to fix it for you, you should maybe consider another language. This seems rather to be a case of writing goo
by PhasmaFelis 12y ago
> If you write crappy code and expect the compiler to fix it for you, you should maybe consider another language.
This seems rather to be a case of writing good code and having the compiler break it for you.
- bakhy 12y agoYes it is. You misunderstood my point, which was about the purpose of existence for such optimizations - they are meant to improve code, which presumably needs improvement. But if your code needs improvement, then why not go for a higher level language? BTW, I gave you an upvote by accident :D
- clarry 12y agoThey are meant to make the code run faster. If your code needs optimization, going for higher level languages is seldom a good idea. You could try do low level optimizations in your C or assembly, but for most programs this will eventually backfire. So letting the compiler do its job is actually a good thing.