Hacker News new | ask | show | jobs
by tiborsaas 811 days ago
It's better to have a non-deterministic compiler for a task that would be really hard to write an algorithm for otherwise.
1 comments

But are LLMs really better at algorithm writing than you? I’ve found that they work best when I’ve already pseudocoded the algorithm.
I didn't mean making it write the actual code and using that, but there are tasks that are more error prone or near impossible to write with a traditional approach. So using some zero shot prompting is better than running code.

That's why I find non-determinism as acceptable when otherwise it would be a pain to do something similar.