Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcnc!unccvax!cbenda From: cbenda@unccvax.UUCP (carl m benda) Newsgroups: comp.sys.ibm.pc Subject: Re: NUMBERCRUNCHING on the PC: Should C be used at all? Message-ID: <687@unccvax.UUCP> Date: Wed, 22-Apr-87 17:43:39 EST Article-I.D.: unccvax.687 Posted: Wed Apr 22 17:43:39 1987 Date-Received: Fri, 24-Apr-87 05:30:03 EST References: <3254@jade.BERKELEY.EDU> Organization: Univ. of NC at Charlotte, Charlotte, NC Lines: 16 Summary: compiler! In article <3254@jade.BERKELEY.EDU>, mic@lapis.berkeley.edu (Michel Bruneau) writes: > for pure calculation (no I/O) comparing C and FORTRAN???? > > I am still ignorant, so please let me know.... Compiler.... It depends on the compiler version and what it can do. It is known that most professional C compilers have switches that will allow the compiler to produce optimized code for the particular machine the program is running on. This object code may allow performance increases as much as 35%. Why doesn't one use these switches all the time? For the simple reason that to optimize the object code the compiler does alot of extra work which of course increases compile time.... not something one wants to put up with while developing a program. /Carl