??? 03/21/05 20:31 Read: times |
#90186 - C Library Responding to: ???'s previous message |
Donald Catto said:
"IMHO it is more of a liability than an asset in 8051 embedded systems."
How on earth do you come to that conclusion? Experience. In over 30 years of embedded development I have never needed to link to a single standard C library function in an embedded system. "I reckon 95% or more of the functions have no relevance to embedded systems"
Keil implements all of the standard library that makes sense on an 8051 embedded system which amounts to about two thirds of it. I would estimate that I've used 50-75% of those functions in the time I've been using Keil. I'd be very interested if you would care to name a couple of library functions that Keil implements and explain why you think they are irrelevant to embedded systems. First let me reiterate I said 8051 embedded systems not embedded systems in general. Given that I would cite malloc, calloc, realloc and free as examples of functions of no relevance to a system with very limited RAM. "and the remainder soon find their way into your own assembly language function library"
I just hate reinventing the wheel. That's why they are in a library :-) "YMMV"
I'm afraid I'm not familiar with that one. Your Mileage May Vary. As I said I don't want to start a C vs ASM war - these are just my opinions. Ian |