From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 110292,45b50f14dadfce5b X-Google-Attributes: gid110292,public X-Google-Thread: 1164f8,45b50f14dadfce5b X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,45b50f14dadfce5b X-Google-Attributes: gid102b75,public From: boo Subject: Re: Final kick at the "Merced Guessing Game" Date: 1997/10/07 Message-ID: <343A4E14.CEA2FF2@tonys.ecology.umn.edu>#1/1 X-Deja-AN: 278471622 References: <612k6f$i79@news-rocq.inria.fr> <619nmn$4jv$1@goanna.cs.rmit.edu.au> <34392537.AA4A9F96@tonys.ecology.umn.edu> <61c9kl$94l$1@goanna.cs.rmit.edu.au> Organization: boo Newsgroups: comp.sys.intel,comp.arch,comp.sys.dec Richard A. O'Keefe wrote: > I strongly suspect that you don't know what modern Fortran is like. > There is precisely *one* construction present in C which is not > supported as well or better by Fortran, and that is pointer arithmetic. And you think this is a minor difference? > > Modules? Fortran has them, C hasn't. > Overloading? Fortran has it, C hasn't. > Records? Fortran and C both have them. > Pointers? Fortran and C both have them. > Dynamic allocation? Fortran and C both have them. > Recursive procedures? Fortran and C both have them. > Nested procedures? Fortran has one level of nesting, C has none. > Strings? Fortran has them, C hasn't. > Character-oriented IO? Fortran and C both have it. > Record-oriented IO? Fortran has it, C hasn't. > User defined operators? Fortran has them, C hasn't. > Free-format source form? Fortran and C both have it. > Bitwise operations? Fortran and C both have them. > Control over record layout? Neither language supports this. (Yes, I know > about bitfields, and I also know how extremely weak are the > guarantees you get about them.) Ever heard of C++? Hahaha! Now I get it! This is a troll! Nobody could possibly think this is a serious reply. What I do with my C++/C/assembly combination, you cannot possibly do with Fortran.... as quickly and easily as I do. I work in the virtual reality field, with parallel algorithms, gigabyte databases and realtime 3D OpenGL animation, and some serious number crunching too. The most heavily used routines I code in C with a little inline assembly (which is quick enough to do for any CPU once you have a little practice). What do you do? Simple number crunching of the style done in the 60's and 70's? Sure, Fortran will suffice! > I think perhaps it is time instead that _you_ took your blinkers off. > Fortran is not my favourite language by a long way, but it has come > a *long* way in the last 20 years, and is by most criteria a more > 'modern' language than C. I happen to have used modern variants of Fortran, I'll have you know. Fortran has its place, certainly. It is possible to produce very efficient code with a high level language that is easy to master. But outside the realm of brain-dead number crunching, it cannot compare with efficient C++/C.