Deterministic compilers

"Oleg Mürk" <>
3 May 2001 13:43:06 -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: "Oleg Mürk" <>
Newsgroups: comp.compilers
Date: 3 May 2001 13:43:06 -0400
Organization: Compilers Central
Keywords: practice, question, comment
Posted-Date: 03 May 2001 13:43:06 EDT


I've got a strange question: are contemporary compilers (for C++ or Java)
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...

[I gather sometimes you get different code depending on where in
memory some compile-time hash table lands. Object files often contain
timestamps, of course, which will make them different between two
runs. -John]

Post a followup to this message

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