Hacker News new | ask | show | jobs
by jwandborg 1104 days ago
Imagine debugging hyperoptimized machine code. - Or would you just blame yourself for not stating your natural language instructions clearly enough and start over? I guess all of these complex problems would somehow be solved for everyone within the next 21 years and 364 days.
1 comments

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.

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.