Re: Are these all really true ?

ludemann@expernet.com
Wed, 27 Sep 1995 01:04:55 GMT

          From comp.compilers

Related articles
[10 earlier articles]
Re: Are these all really true ? cdg@nullstone.com (1995-09-21)
Re: Are these all really true ? graham.matthews@pell.anu.edu.au (1995-09-23)
Re: Are these all really true ? stefan.monnier@epfl.ch (Stefan Monnier) (1995-09-25)
Re: Are these all really true ? baynes@ukpsshp1.serigate.philips.nl (1995-09-25)
Re: Are these all really true ? bill@amber.ssd.hcsc.com (1995-09-25)
Re: Are these all really true ? cdg@nullstone.com (1995-09-26)
Re: Are these all really true ? ludemann@expernet.com (1995-09-27)
Re: Are these all really true ? J.Biddiscombe@rl.ac.uk (The Lord of Darkness) (1995-09-27)
Re: Are these all really true ? ok@cs.rmit.edu.au (1995-09-28)
Re: Are these all really true ? finger@convex.convex.com (1995-09-28)
Re: Are these all really true ? bates@salsv3.boeing.com (Rodney Bates) (1995-10-03)
Re: Are these all really true ? jjc@hplb.hpl.hp.com (Jeremy Carroll) (1995-09-29)
Re: Are these all really true ? stefan.monnier@epfl.ch (Stefan Monnier) (1995-10-02)
[7 later articles]
| List of all articles for this month |
Newsgroups: comp.compilers
From: ludemann@expernet.com
Keywords: interpreter, design
Phone: +1.415.949.8691
Organization: ExperNet
References: 95-09-131
Date: Wed, 27 Sep 1995 01:04:55 GMT

"John Carter" <ECE@dwaf-hri.pwv.gov.za> writes:


      >* Compilation is better than interpretation.
      If you have the time to write the compiler. Whipping up an
      interpreter is relatively easy.


During development, interpretation is often superior. My edit-run
loop with Smalltalk, Prolog, or Lisp (even perl) sure beats the
edit-[make]-compile-link-run loop using C++.


Good interpreters, with nice debug features aren't necessarily easy to
"whip up" either; but easier than compilers.


      >* Multi-threading is better than single threading.
      Multithreading can be a real bitch to debug.
      But some problems are simply intrinsically multithreaded, others
      aren't.


Multi-TASKING (multi-processing) is better. Multi-threading is an
ugly hack because most OS people don't know how to do fast
multi-tasking systems (it can be done: one high-performance telephone
switch uses multi-tasking and message passing). In the degenerate
case (a single CPU), multi-tasking is coroutining with a nicer syntax.
Related stuff: constraint (logic) programming, lazy evaluation (ML,
some Prologs).


      >* Specification and design can be performed with no knowledge of
      >implementation.
      Wrong.
      Whilst Murphy exists and we are finite, wrong-wrong-wrong.


Even Dijkstra agrees that design is a simultaneous top-down and
bottom-up process; sometimes one part predominates over the other, but
both must be kept in mind (most C programmers do bottom-up; most
"architects" do top-down; hence the many messes we see).


      >* Applications contain a substantial number of algorithms.
      Very true.


Most programs today use very few algorithms (especially business
programs or stuff that's GUI-intensive).


On the other hand, we can't afford the attitude of "now that we've got
good optimizing C compilers, we don't need to worry about algorithms"
(actually overheard).


      >* WYSIWYG is better for all applications.
      Wrong.
      What You Want Is What You Get is the holy grail. WYSIWYG is merely a
      crutch. A truncheon with which to beat recalcitrant packages into
      yielding the desired result. (Marketing is the science of convincing
      us that What You Get Is What You Want.)
      Hmm. What Will Work Is What You Get might be even better.


WYSIWYG = What You See Is ALL You Get.


e.g., you might want to use SGML instead of WYSIWYG, if content is
more important than appearance (content can always drive appearance).


-----


Peter Ludemann ludemann@expernet.com
ExperNet phone: +1.415.949.8691
Systems Architect fax: +1.415.949.1395
KNS Project Leader
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.