logoalt Hacker News

win311fwgyesterday at 3:15 PM2 repliesview on HN

> Generally, compilers are deterministic

Not really. Maybe more so than they used to be thanks to deterministic algorithms becoming faster, but most compilers still aren't deterministic by default. There are still advantages to non-determinism in compilers, like not having to worry about thread execution order. To be fair, most compilers these days allow you to optionally enable determinism. Then again, LLMs also allow you to optionally enable determinism.


Replies

KellyCriterionyesterday at 6:25 PM

Thread-connected non-determinism is not what the author meant by "compilers are deterministic"

show 1 reply
foco_tubiyesterday at 3:54 PM

> LLMs also allow you to optionally enable determinism

really? Please explain

show 1 reply