logoalt Hacker News

ManuelKiesslingyesterday at 6:46 PM2 repliesview on HN

(I‘m saying this as someone who uses AI for coding a lot and mostly love it) Yeah, but is that really the same? Compilers work deterministically — if it works once, it will work always. LLMs are a different story for now.


Replies

betenoireyesterday at 6:59 PM

Said another way, compilers are a translation of existing formal code. Compilers don't add features, they don't create algorithms (unrolling, etc., notwithstanding), they are another expression of the same encoded solution.

LLMs are nothing like that

show 1 reply
cortesoftyesterday at 7:13 PM

LLMs are deterministic, too. I know there is randomness in the choosing tokens, but that randomness is derived from a random seed that can be repeated.

show 2 replies