home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.edu:1529 comp.lang.fortran:3425 comp.lang.misc:2931 comp.arch:9221 sci.math:10982
- Newsgroups: comp.edu,comp.lang.fortran,comp.lang.misc,comp.arch,sci.math
- Path: sparky!uunet!usc!wupost!dbsun!meyer
- From: meyer@dbsun.uucp (Don Meyer)
- Subject: Re: Scientists as Programmers (was Re: Small Language Wanted)
- Message-ID: <1992Sep4.114720.25228@dbsun.uucp>
- Organization: BioMerieux-Vitek, St. Louis Mo.
- References: <2!ln9fc@lynx.unm.edu> <1992Sep3.112944.20996@dbsun.uucp> <Bu08uF.HBC@mentor.cc.purdue.edu>
- Distribution: na
- Date: Fri, 4 Sep 1992 11:47:20 GMT
- Lines: 38
-
- In article <Bu08uF.HBC@mentor.cc.purdue.edu> hrubin@pop.stat.purdue.edu (Herman Rubin) writes:
- >This is not brain-dead, but it is certainly brain-damaged. Inlining of
- >stuff from libraries has to be done at compile time, or at most at assemble
- >time, as at least the compiler needs to know how much space the inlined
- >code will take. If every addition, etc., required a subroutine call,
- >the computer would run very much slower. So one would have to use
- >some type of language extension file at compile time, not libraries.
-
- If you don't have floating point hardware, or if the precision need
- surpasses that of your floating point hardware you will almost
- certainly have a subroutine call made by the compiler anyway.
- This is an optimization/compiler-quality issue as opposed to
- a pure "language" issue IMHO.
-
- >The present compilers translate such things as +, *, &, etc., into
- >some version of assembler. Why not allow the user to say how other
- >operations will be similarly translated, and add them to the list?
- >These operations often produce temporaries; why not tell the user
- >how this is done, and let them be added to the list? These would
- >not really complicate the language design or the compiler, except
- >insofar as precedence is affected.
-
- Okay by me. :-)
-
- >Now why did the C designers use the term "typedef" for what should have
- >been called "typealias"? I have used Fortran compilers before the creation
- >of C which allowed a limited number of user-defined types.
-
- Ummm, so?
-
- Don
-
-
-
- --
- -------------------------------------------------------------------------
- meyer%dbsun.uucp@wupost.wustl.edu ||| I am at two with nature.
- Opinions expressed are personal. ||| -- Woody Allen
-