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: 102b75,45b50f14dadfce5b X-Google-Attributes: gid102b75,public X-Google-Thread: 110292,45b50f14dadfce5b X-Google-Attributes: gid110292,public From: boo Subject: Re: Final kick at the "Merced Guessing Game" Date: 1997/10/13 Message-ID: <34427991.85A7204@tonys.ecology.umn.edu>#1/1 X-Deja-AN: 280229860 References: <61g30t$o2n@news-rocq.inria.fr> <61ho3v$3m0$1@goanna.cs.rmit.edu.au> <343CE2F4.362D80F0@tonys.ecology.umn.edu> <61k9g2$2fa@mulga.cs.mu.OZ.AU> <34406444.A9D6EF97@tonys.ecology.umn.edu> <61tq8p$t61@hermes.acs.unt.edu> Organization: boo Newsgroups: comp.sys.intel,comp.arch,comp.sys.dec Steve Tate babbled: > > boo (boo@tonys.ecology.umn.edu) wrote: > > Tyson Richard DOWD babbled: > > > > >I really cannot fathom why you actually > > > >believe that this is more low level. As far as I understood, > > > >computer memory is not two dimensional, and so I would rather > > > > > > If I told you computer memory was two dimensional, would you do things > > > differently? I don't understand this line of reasoning. > > > Because eventually, someone or something is going to have > > to map the dimensionality of your "arrays" to the dimensionality > > of the computer memory. I don't expect you to understand this, > > though, so why don't you just let your Fortran compiler do > > the thinking for you. > > Your original comment was that "as far as I understood, computer > memory is not two dimensional", and then you go off on this latest > posting and talk about how you're interested in computers that are > used by many people. Well the computers that are used by millions of > people DO have two dimensional memory, which you seem unaware of. > DRAM (of any kind) is two dimensional: locations have a row address > and a column address. This is hidden, for the most part, by other > hardware, but it really is there and it really can make a performance > difference. Does the OS know about it? If not, it is totally irrelevant, and you have missed the whole point. Next, you are going to say that because the chips themselves are arranged across on the simm/dimm models, which are arranged sequentially, that the memory is arranged three dimensionally. You obviously have no clue as to what my point it. The platforms I use have one dimensional flat memory spaces, and if I cannot access the mythical underlying structure you hint at, what is the point? What is your point, anyway? > So maybe > a better C compiler would give me that 5% of runtime speed back. But > what would give me that 2 days of C tuning time back? Maybe you ARE a crap programmer, did you consider that? > Bottom line is this. People arguing that "C is always better" are > being silly. People arguing that "FORTRAN is always better" are being > silly. C is usually better FOR ME, and Fortran is usually better FOR OTHERS. That is my point. If you are a crap programmer, then Fortran or Visual Basic or Delphi are probably for you. > Each has its place. If I were writing straight numerical code > with very nice predictable access patterns, I'd use FORTRAN and have > the compiler optimize the hell out of it. If I were doing a > non-numerical problem and had to implement some advanced linked data > structure (for example, an AVL tree or a skip list), I'd use C. Not all of us have such clear-cut classifications for our software development.