On 26 June 2012 21:05, Girish Venkatachalam <girishvenkatacha...@gmail.com> wrote: > What I like most about C is its economy of expression. > > Like Sanskrit. You say what you want to say in minimum words.
Wrong. You will typically spend more lines/words writing a C program than for an equivalent program in any other higher level programming language. > And it has no library. The libc that you definitely need without which the > OS cannot run(as most applications are dynamically linked) is very > very small. Wrong. libc *is* a library and it is definitely not small -- it's 2 MB on my F16. > And you have many macros in header files and header file inclusion order > counts. If header inclusion order counts for you then you're doing something wrong. > In C, the library that comes bundled allows few string functions, few > OS routines and > few math functions. That is mostly it. Wrong. name resolution services (nss/nis), syscall wrapping, locale/iconv support, dynamic memory allocation, I/O, all form part of the core libc library. Apart from that you have multithreading using pthreads, dns resolution using libresolv, the dynamic linker, dynamic dso loading in libdl, name service caching using nscd, math functions in libm -- all of them part of the GNU libc package. -- Siddhesh http://siddhesh.in _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc