logoalt Hacker News

conroytoday at 3:41 AM2 repliesview on HN

you'd be surprised, but there's actually a bunch of problems you can solve with something like this, as long as you have a safe place to run the generated code


Replies

thephybertoday at 6:05 AM

I was super interested in genetic programming for a long time. It is similarly non-deterministically generated.

The utility lies in having the proper framework for a fitness function (how to choose if the generated code is healthy or needs iterations). I used whether it threw any interpretation-time errors, run-time errors, and whether it passed all of the unit tests as a fitness function.

That said, I think programming will largely evolve into the senior programmer defining a strategy and LLM agents or an intern/junior dev implementing the tactics.

show 1 reply
jnkltoday at 7:23 AM

Could you elaborate what problems can be solved with this?