Hacker News new | ask | show | jobs
by ActorNightly 1106 days ago
You wouldn't debug it directly. The interaction will be something like telling the compiler to run the program for a certain input, and seeing wrong output, and then saying, "Hey, it should produce this output instead".

The algorithm will be smart enough to simply regenerate the code minimally to produce the correct output.

3 comments

I think you have described a new definition of hell.
Yeah, when people start running into weird failure modes with no insight into the code... sounds like a nightmare.
Input output mapping. Point out what output should be for any failure mode and compiler will auto fix the code
What you wrote is naive. I dont think AI will ever be able to guess what correct output for arbitrary inputs should look like, just based on examples. You need to specify an algorithm that produces the correct output for all inputs. AI could be able to optimize that, but not fill in gaps in the definition of the goal.
Good luck with that.