??? 07/15/09 15:48 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#167350 - Generalisations Responding to: ???'s previous message |
Richard said:
As for the size, the problem is that, once one is using 'C', the tendency is to use its libraries and other conveniences without regard for impact on the size of the work product. A normally bright developer will quickly realize that if he has a chip with a lot of memory, he can save a lot of development time by using the C runtime library. And a normally bright developer will realize that if the chip has limited amount of code and data space, he can write his own specialized functions. And a specialized function written in C has normally - for good C compilers - a quite small extra cost compared to the size of the same function written by a competent assembler programmer. Yes indeed, there ARE people who can "do it right." How many of them do you see on 8052.COM? Only a few, right? Big problem with your logic. The developers who are good with C will not ask questions about C on this forum. And if they also happens to be reasonably competent at embedded, they will also manage to read datasheets, in which case any questions they will ask here will not show any problematic C code. They will focus their questions on specific register contents for a specific peripherial and you will never know if they will make use of any answer they get in a C or assembler program. Haven't you noticed all the regulars who never ask assembler or C questions? Most of the time don't ask any questions at all. You are ignoring them, when you are using the 8052 visitors as an example of why people should avoid C. Whenever you work at a help desk, you will only see the people who are constantly needing to be rescued from themselves. |