logoalt Hacker News

bigmadshoe • yesterday at 12:19 AM • 1 reply • view on HN

When Claude Code generates a computer program it is absolutely not generating millions of permutations of the program.

Perhaps with Riemann or similar that could apply, but I would hardly call it brute-force in the traditional sense of the term.


Replies

hattmall • yesterday at 1:22 AM

It's generating millions of permutations of the next token. Not the entire program, how many complete responses it generates depends on the internal workings of the full program not just the model. But as I stated elsewhere the core of the LLM specifically is a heavily capped, parallelized brute-force search across discrete token spaces, sequence branches, and reasoning paths that relies on exhaustive evaluation within strict mathematical caps.

Now I am open to hear how you interpret it differently, but the I don't think it's possible to abstract it away from a guess and test approach at the most basic level.

➕ show 1 reply