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: nmm1@cus.cam.ac.uk (Nick Maclaren) Subject: Re: Final kick at the "Merced Guessing Game" Date: 1997/10/01 Message-ID: <60t8fo$of7$1@lyra.csx.cam.ac.uk>#1/1 X-Deja-AN: 277012511 Sender: nmm1@taurus.cus.cam.ac.uk (Nick Maclaren) References: <3431A2DB.4273@EasyInternet.net> <60t4eu$moc$1@lyra.csx.cam.ac.uk> <60t42r$4pd@scnews.sc.intel.com> Organization: University of Cambridge, England Newsgroups: comp.sys.intel,comp.arch,comp.sys.dec In article <60t42r$4pd@scnews.sc.intel.com>, "J. Corbally" writes: |> > It will have little or no practical effect, because the dominating |> > languages and programming styles have one unpredictable branch or |> > data indirection every few instructions. Until and unless C, C++, |> > most windowing systems and similar tripe are scrapped, almost all |> > systems will run at a miniscule fraction of their potential CPU |> > performance. A quick look at Java implies that it probably has the |> > same problems, but I cannot swear to it. |> |> I'm sure you have some new hyper-advanced programming language in the |> waiting that will realise this "potential CPU performance", and obsolete |> all other languages. Yeah, right..... |> |> Please explain yourself.... Whether I do or not is irrelevant, as all of the Fortrans, Cobols, Algols, Pascals, Modulas etc. are streets better. So, interestingly enough, are 'object oriented' systems like Smalltalk and (I believe) Eiffel - but they have other problems. If you take a close look at C++, the X Windowing System, the various IBM and Microsoft windowing systems etc., you will see that an 'object' is implemented as a data structure and you invoke a method by picking an address up from that structure and branching to it. Furthermore, most of the important data is indirected through multiple levels of data structure. When I first described this to a hardware designer, back in the early days of the latest RISC hype, he said "But nobody writes code like that!" When I said that the C++ and X Windowing System did little else, he said "Well, people won't use them then." Nick Maclaren, University of Cambridge Computer Laboratory, New Museums Site, Pembroke Street, Cambridge CB2 3QG, England. Email: nmm1@cam.ac.uk Tel.: +44 1223 334761 Fax: +44 1223 334679