TIP: Click on subject to list as thread! ANSI
echo: cis.os9.68000.osk
to: William F. McGill/CA 73177,3433
from: Graham Ullrich/C.B.,CO 76506,2037
date: 1992-10-23 22:16:15
subject: #16642-Ultra-C

#: 16749 S12/OS9/68000 (OSK)
    23-Oct-92  22:16:15
Sb: #16642-Ultra-C
Fm: Graham Ullrich/C.B.,CO 76506,2037
To: William F. McGill/CA 73177,3433

Bill,

The nice feature of ANSI-compliant compilers is function parameter type
checking at compile time.  That is, the compiler detects errors where you call
a function with a particular argument type, but the function is defined with a
different argument type.  For example:

int foobar( int param );

main() {
  unsigned int wrong_type;

  foobar( wrong_type );   /* this would be caught by the compiler */ }

Although you may have no difficulty remembering parameter types, new
programmers may inadvertently use the wrong type, or you may change function
names, etc.  I've found this alone helps me immensely.  Just another thing I
don't have to worry about.

Microware is claiming about 50% to 70% executable execution speed increase for
Ultra C.  Lots of function names have changed, which can be handled by macro
#defines.

Graham

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.