??? 07/14/09 10:49 Read: times |
#167242 - 2K of binaries for just a few dozen lines of 'C' Responding to: ???'s previous message |
Richard Erlacher said:
Those produce 2K of binaries for just a few dozen lines of 'C'. That, of course, is the whole reason to use 'C' - precisely because you can achieve in just a few dozen lines what would take many pages to write in Assembler! In the hands of a competent programmer, that is a great advantage; used inappropriately, it will (almost) certainly lead to code bloat - but that is the fault of the programmer, not the tools. I would like to see you implement the complete functionality of printf in significantly less than the Keil tools take... Of course, if the 'C' programmer chooses to use a sledgehammer like printf to crack a simple "Hello, World!" nut, then that is the programmer's choice - and not the fault of the tools! |