Remix.run Logo
haolez 4 hours ago

Compilers are deterministic.

zajio1am 3 hours ago | parent [-]

There is no requirement for compilers to be deterministic. The requirement is that a compiler produces something that is valid interpretation of the program according to the language specification, but unspecified details (like specific ordering of instructions in the resulting code) could in principle be chosen nondeterministically and be different in separate executions of the compiler.

koiueo 3 hours ago | parent [-]

We are not talking about deterministic instructions, we are talking about deterministic behavior.

UB is actually a big deal, and is avoided for a reason.

I couldn't in my life guess what CC would do in response to "implement login form". For all I know CC's response could depend on time of day or Anthropic's electricity bill last month more, than on the existing code in my app, and the specific wording I use.