Re: Nondeterministic compilers?

Alex Colvin <alexc@std.com>
27 Feb 2004 22:15:13 -0500

          From comp.compilers

Related articles
Nondeterministic compilers? gah@ugcs.caltech.edu (glen herrmannsfeldt) (2004-02-26)
Re: Nondeterministic compilers? christian.bau@cbau.freeserve.co.uk (Christian Bau) (2004-02-26)
Re: Nondeterministic compilers? hannah@schlund.de (2004-02-27)
Re: Nondeterministic compilers? franck.pissotte@alussinan.org (Franck Pissotte) (2004-02-27)
Re: Nondeterministic compilers? alexc@std.com (Alex Colvin) (2004-02-27)
Re: Nondeterministic compilers? joachim.durchholz@web.de (Joachim Durchholz) (2004-03-02)
Re: Nondeterministic compilers? walter@digitalmars.com (Walter) (2004-03-02)
Re: Nondeterministic compilers? nmm1@cus.cam.ac.uk (2004-03-06)
Re: Nondeterministic compilers? norm@plumpirate.com (norm rubin) (2004-03-11)
| List of all articles for this month |
From: Alex Colvin <alexc@std.com>
Newsgroups: comp.compilers,comp.lang.pl1
Date: 27 Feb 2004 22:15:13 -0500
Organization: The World : www.TheWorld.com : Since 1989
References: 04-02-158
Keywords: practice
Posted-Date: 27 Feb 2004 22:15:12 EST



>Does anyone know about any compilers that are not deterministic?


I remember someone writing a compiler that made non-deterministic choices
when implementing undefined behavior (e.g. rearranging the order of
operations where allowed). It was a student project.


For production use I wouldn't go near a nondeterministic compiler. You
want to ship the code you tested. For randomized algorithms I could see a
configurable seed for a PRNG.


--
mac the naïf


Post a followup to this message

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