??? 10/27/11 00:57 Read: times |
#184383 - sometimes coding situations and requirements differ Responding to: ???'s previous message |
I don't know how it works out using HLL's for MCU coding, where the MCU is a piece of the hardware and not a general-purpose computer, but I've noted that the code I generate in one situation exhibits completely different style than what I write in another. Is that not the way it works out in 'C'?
Do all compilers produce similarly efficient and effective object code, irrespective of the way in which the code is written? If one project requires a very dense code set, owing to small remaining code space, while another requires very fast executable code because of strict timing requirements, wouldn't it matter which compiler one uses for certain key modules? I would think that a thorough comparison of candidate compilers chosen for each project, given that each one is going to require that the customer is going to have to buy it, would be indicated. For that matter, it might even be reasonable to consider a different HLL, wouldn't it? Keep in mind, please, that each task I undertake is likely for a different client than the last one. If I were willing to peg them to a single compiler, it should, after all, be the right one. Given the choices I've repeatedly made, I'd never be the one ultimately buying it. RE |