Re: Deterministic compilers

Christian Bau <>
7 May 2001 23:15:57 -0400

          From comp.compilers

Related articles
Deterministic compilers (Oleg Mürk) (2001-05-03)
Re: Deterministic compilers world! (Robert A Duff) (2001-05-07)
Re: Deterministic compilers (Christian Bau) (2001-05-07)
Re: Deterministic compilers (Jan Gray) (2001-05-07)
Re: Deterministic compilers (walter) (2001-05-13)
| List of all articles for this month |

From: Christian Bau <>
Newsgroups: comp.compilers
Date: 7 May 2001 23:15:57 -0400
Organization: Insignia Solutions plc
References: 01-05-011
Keywords: optimize, practice
Posted-Date: 07 May 2001 23:15:56 EDT

"Oleg Mrk" wrote:
> I've got a strange question: are contemporary compilers (for C++ or Java)
> deterministic?
> I.e. produce the same result every time they get the same source code,
> switches, environment, libraries etc. I would assume for instance that
> optimization might be non-deterministic...

As an example, I have seen one compiler which did some optimisations
requiring lots of memory at compile time. Run the compiler with more or
with less memory, and certain optimisations will be done or not done. So
the compiled code depends on how much memory is available to the
compiler (at least that's what the documentation said).

Post a followup to this message

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