Quote:
Originally Posted by mdh
As much as I like C, I have to ask in what way you find it to be "small"? C is simple indeed, in that it stays out of my way and lets me do what I want to do (for the most part - being able to cast a function pointer to void * and pass it around would be useful). I don't see the small, though. Compilers are hugely complex, and the amount of code that must be written to perform a given task is usually more than with a lot of other, especially interpreted, languages.
|
Well, PCC, the C99 compiler recently imported into OpenBSD/NetBSD.. has a code base less then 5MB in size. (
And produces executable smaller then GCC..).
Just because most compilers are bloated, doesn't mean they have to be.