Remix.run Logo
7777332215 4 hours ago

The compiler is deterministic and the translation does not lose semantics. The meaning of your code is an exact reflection of what is produced.

fragmede 4 hours ago | parent [-]

We can tell you weren't around for the advent of compilers. To be fair, neither was I since the UNIX c compiler came out in '68 and was by far not the first compiler. Modern comilers you can make that claim about, but early compilers weren't.

recursive 4 hours ago | parent | next [-]

All compilers have bugs. Any loss of semantics during compilation would be considered a bug. In order to do that, the source and target language need to be structured and specified. I wasn't around in the 60s either, but I think that hasn't changed.

georgemcbay 26 minutes ago | parent | prev | next [-]

I've been programming since 6502/6510 assembly language and all compilers I've used were deterministic (which isn't the same thing as being bug free or producing the correct output for a given input).

tjr 4 hours ago | parent | prev [-]

Which early compilers were nondeterministic?