From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,45b50f14dadfce5b X-Google-Attributes: gid1164f8,public X-Google-Thread: 110292,45b50f14dadfce5b X-Google-Attributes: gid110292,public X-Google-Thread: 102b75,45b50f14dadfce5b X-Google-Attributes: gid102b75,public From: Craig Burley Subject: Re: Final kick at the "Merced Guessing Game" Date: 1997/10/17 Message-ID: #1/1 X-Deja-AN: 281930139 References: <61g30t$o2n@news-rocq.inria.fr> <623ek6$ef5$1@news.iastate.edu> Organization: Cygnus Support Newsgroups: comp.sys.intel,comp.arch,comp.sys.dec simg@netcom.com (SimGraphics) writes: > In article , > Craig Burley wrote: > >this, nobody seems to have put forth any evidence, or even persuasive > >counter-arguments, to the contrary: C offers *very* little in terms > >of low-level constructs that Fortran doesn't offer. > > All right, I'll try. > > Think of implementing run time library for two languages, > using two choices of languages. > > 1) C runtime implemented in C > 2) C runtime implemented in Fortran > 3) Fortran runtime implemented in C > 4) Fortran runtime implemented in Fortran > > My ordering, from easiest to hardest: 1,3,4,2. I don't see any rebuttal there. Care to explain what *low-level* constructs C is offering that Fortran doesn't offer, aside from pointers? I've already *said* that C's notational convenience makes it easier to type in the code, but that's not particularly relevant to getting maximum performance out of existing or new architectures. (And I've already pointed out that entire *operating systems*, implemented on machines that C couldn't cope with properly in fact, have been implemented largely in FORTRAN 66, so I doubt a C runtime implemented in Fortran would be particularly challenging, when it comes to gaining the same performance, as compared to one implemented in C. Can you say the same thing about a Fortran runtime that includes popular numeric-library routines? I *know* you can't, the aliasing problems alone would require you to use C extensions that are only being discussed and, sometimes, implemented *today*.) -- "Practice random senselessness and act kind of beautiful." James Craig Burley, Software Craftsperson burley@gnu.ai.mit.edu