News for hackers. Stuff that matters.
Re:Automating programming: AI is transforming the coding of ... by AnimalMuppet on Friday July 09, 2021 @04:13PM (#27788005)
Interesting. Would you mind telling me what the largest (in lines of code) working program it has created is?
Re:Automating programming: AI is transforming the coding of ... by primaryobjects on Friday July 09, 2021 @05:37PM (#27788824)
One of the largest programs generated had consisted of about 300 instructions.

This particular program included if/then conditionals, counting down in a loop, concatenation of a numeric value with text, and displaying output.

The system also attempts to optimize the number of programming instructions executed, in which case complexity can actually be considered based upon the resulting behavior, rather than LOC.

Re:Automating programming: AI is transforming the coding of ... by AnimalMuppet on Friday July 09, 2021 @06:42PM (#27789339)
That's... decent. It's a lot larger than I ever got with a GA.

I don't think we're ever going to get a GA to produce an air-traffic control system, or a database, or an OS. But 300 lines (that work) is further than I was aware had been possible.

(When I said "decent" in the first paragraph, that sounds like I'm damning it with faint praise. And I kind of am. But I am doing so in light of the Linux kernel, which is something like 100 million lines. I am not doing so to minimize this as an achievement within the world of GA-generated code. I'm just saying that we're a ways from being able to handle most real-world problems with GA-generated code.)