Posted by Matthew Pratt on 1999-04-05
> Truthfully, I don't memorize the whole C library > since mostly all of it > you can write yourself, most common functions I use > a lot stay in my memory. > And, a lot of times writing them yourself makes > faster code than the ones > in the library, and more robust depending. > This may be true for some cheap closed source libs for dos but generally *nix libc's are much better that this (especially with glibc (GNUs version)) and every extra line of code you write increases the possiblility of a bug. After all on a *nix box nearly every piece of software uses that c library and so 99.9% of bugs will have been ironed out long before you or I come along. And if not then you have the source there ;-) As for the speed, you cant tell me that some piece of crapped code you or I knock out in 5mins will be faster than the code in a library that has been scrutinized by thousands of eyes and highly optimized. === Matty . http://members.xoom.com/mattpratt/ _--_|\ mattpratt@xxxxx.xxx / \ s3099239@xxxxxxx.xxx.xxx.xx \_.--._/<--Canberra, W2K - The other millenium bug. v Australia _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Previous post | Next post | Timeline | Home