home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / compiler / 1259 < prev    next >
Encoding:
Text File  |  1992-07-23  |  1.6 KB  |  36 lines

  1. Newsgroups: comp.compilers
  2. Path: sparky!uunet!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!wupost!think.com!spdcc!iecc!compilers-sender
  3. From: tmb@idiap.ch
  4. Subject: Re: Pros and cons of high-level intermediate languages
  5. Reply-To: tmb@idiap.ch
  6. Organization: IDIAP (Institut Dalle Molle d'Intelligence Artificielle Perceptive)
  7. Date: Thu, 23 Jul 1992 20:25:40 GMT
  8. Approved: compilers@iecc.cambridge.ma.us
  9. Message-ID: <92-07-080@comp.compilers>
  10. References: <92-07-064@comp.compilers> <92-07-068@comp.compilers>
  11. Keywords: C, translator, optimize
  12. Sender: compilers-sender@iecc.cambridge.ma.us
  13. Lines: 21
  14.  
  15. boehm@parc.xerox.com (Hans Boehm) writes:
  16.  
  17.    [various specific problems with generating C code as the output
  18.    of a compiler, related to GC, tail-recursion optimization, etc.]
  19.  
  20.    My impression is that for vaguely Pascal-like languages (e.g. Mesa),
  21.    compiling through C generally loses very little performance, and may in
  22.    fact win, if it's done sufficiently carefully.  For Scheme or ML-like
  23.    languages, life is a little harder.  You either lose some performance, or
  24.    you have to make some other compromises.
  25.  
  26. Since C does seem to be accepted and popular as an intermediate
  27. language, it might be worth trying to get the C standard to
  28. incorporate some features that make this particular use easier.
  29.  
  30.                 Thomas.
  31. [How about some suggestions?  Standards are supposed to codify existing
  32. practice, though I freely admit that hasn't often been the case lately. -John]
  33. -- 
  34. Send compilers articles to compilers@iecc.cambridge.ma.us or
  35. {ima | spdcc | world}!iecc!compilers.  Meta-mail to compilers-request.
  36.