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: boo Subject: Re: Final kick at the "Merced Guessing Game" Date: 1997/10/08 Message-ID: <343C34A7.B715A348@tonys.ecology.umn.edu>#1/1 X-Deja-AN: 278851025 References: <61g30t$o2n@news-rocq.inria.fr> Organization: boo Newsgroups: comp.sys.intel,comp.arch,comp.sys.dec brianh@bit3.com wrote: > > In article <61g30t$o2n@news-rocq.inria.fr>, > Robert Harley wrote: > > > >I think your problem is that C is too flexible for you. It doesn't > >wrongly assume that there is one way of laying out and accessing > >arrays that is appropriate for all purposes. For instance you can > >choose a flat array, 'float *a', or a hierarchy like 'float ***a'. > > Speaking as someone who is writting a math library in C (in his free time, > but I'm actively grappling with these exact issues), also as someone > who hardly knows Fortran, this _SUCKS_. The first time you play with multi-dimensional "arrays" in C, it is difficult and frustrating. These are much easier in Fortran for the uninitiated, and Fortran surely is the language of choice for many scientists and engineers. Once you have understood exactly how to implement multiple dimensional "arrays" in C efficiently and have gained some experience, it doesn't "suck" anymore, and you will understand exactly how flexible C actually is. But it isn't for amateurs, or for the Ivory Tower Set of this thread.