Hacker News new | past | comments | ask | show | jobs | submit login

There are no low hanging fruits to talk about in such a mature and well made language.



I think C puts the C in Cthulhu.

The C spec is a half generation behind the Common LISP spec which set the standard for how you specify languages like Java and Python. The K&R book is poorly organized and the language contains various mistakes, such as the way the parser needs access to the symbol table that deform the C++ language today.

It was minimal, it was viable, and it was in the right place at the right time so it was available on old microcomputers, 8-bit micros, MS DOS, 32/64-bit, web assembly. It competes and wins against assembly code on the AVR-8 (where it boggles my mind how many cycles C wastes following calling conventions in my simple Arduino programs) because I can compile a C program for a much better performing board.

So it is with us more than FORTRAN, PASCAL, COBOL, assembler, etc.


In case you're serious: A discussion about strncpy/strlcpy.. on LWN: https://lwn.net/SubscriberLink/905777/a6dba1b2ed54f04f/


Aside from the preprocessor and the C std library ... but they're the obvious less well made bits of fruit.


What a marvel of a well made language it is, with all its well made security holes and its exquisite null corruptions, truly a thing of beauty.


imperfection is the key to perfection




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: