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: preston@cs.rice.edu (Preston Briggs) Subject: new languages Date: 1997/10/11 Message-ID: <61mgh7$kh8$1@joe.rice.edu>#1/1 X-Deja-AN: 279408088 References: <61g30t$o2n@news-rocq.inria.fr> <61kp41$dob@news.informix.com> Organization: Rice University Newsgroups: comp.sys.intel,comp.arch,comp.sys.dec Maynard Handley wrote: >Each time I get a new rev of a good compiler (for PPC, but the same is >true for any other system) I am told how fantastically efficient it is, >how it utilizes every cycle, etc etc. I build something, look at the >assembly, and in five minute have found five examples of scheduling >inefficiencies, redundant loads etc. Good to know there's room for improvement! >Consider now when I get told on Usenet Lisp (or Bliss or PL/1 or APL or >who knows what is WAY faster than C). Why should I believe it? >If you want to prove how great your chosen language is, you have an >obligation to >* explain what it can do well >* explain what it CANNOT do well >* give some REAL NUMBERs of how fast it is, vs C, in some fashion. Although I admire the motivation, I don't consider these criteria at all adequate. A language is not faster or slower than another language; instead, different compilers produce code that may be faster or slower. It's easy to find a poor C compiler, but I'm much more interested in a stringent test. It's true that some languages may hinder the generation of efficient code, or may require the programmer to jump through hoops to convince the compiler to generate the code. That's another interesting question, but not one that can be answered with a single comparison. Furthermore, I'd like to compare the results of programs written by experts in the languages -- perferably experts who stand to gain if their implementation wins! Finally, I'd like to see a range of tests. No C programmer will be swayed by how well or poorly his favorite C compiler does in relation to some other compiler (for whatever language) on the TAK benchmark, for instance. Preston Briggs