From: utzoo!decvax!cca!fortune!mathon Newsgroups: net.unix-wizards Title: Re: C extensions Article-I.D.: fortune.648 Posted: Sat Oct 30 14:12:54 1982 Received: Mon Nov 1 01:20:37 1982 References: eagle.553 hou5a.161 What would I not like to see in C: Overloading Ops. Ba Humbug! This is the worst feature of ADA. How can we do it to C? Complex data. It makes the language too big and drives it to The pre-processor. It's ugly. I would like to see language constructs to replace pre-processor commands. What I would like to see in C: In-line functions. The code for these functions the user wrote would be done in-line. Enumerated types. Only as long as I can read/write them also. A looping construct that will take advantage of almost all computers looping instructions. E.g. loop(param, iters) would use dbcc on 68000 and whatever elsewhere to loop on the variable param iters times. A way to tell the compiler that a variable was not pointed to so that modern optimizing schemes could be used to figure common subexpressions and invariant code and register optimization better. I feel all these changes are consistent with the original goals of C and keep it a language close to the machine with no built-in functions and a simple syntax. Comments?