Newsgroups: | comp.compilers |
From: | poser@csli.stanford.edu (Bill Poser) |
References: | <1990Jun4.044255.14857@esegue.segue.boston.ma.us> <1990Jun1.194941.5781@esegue.segue.boston.ma.us> <1990Jun4.212226.18389@esegue.segue.boston.ma.us> |
Date: | Wed, 6 Jun 90 03:21:45 GMT |
Organization: | Center for the Study of Language and Information, Stanford U. |
Keywords: | optimize, C |
In article <1990Jun4.212226.18389@esegue.segue.boston.ma.us> larus@spool.cs.wisc.edu writes:
>Some programmers are willing to trade off the semantics of the language (the
>effect of "bad" optimizations) for faster programs.
This misses the point. If you want to define a new version of a language
for parallel execution and specify how the semantics differs from
the sequential version of the language, fine. Then the programmer knows
what he is getting into. The problem with dangerous optimization is that
it changes the semantics behind the programmer's back. Such changes
are known as "errors".
Bill
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.