Like all great programmers I get most of my code from StackOverflow questions. Can’t figure out how to add authentication to Flask? Easy. Want to shut down sendmail? Boom. Now, thanks to all the code on the Internet, a robot can be as smart as a $180,000 coder.
The system, called DeepCoder, basically searches a corpus of code to build a project that works to spec. It’s been used to complete programming competitions and could be pointed at a larger set of data to build more complex products.
From the paper:
The system gets smarter as it keeps practicing, figuring out which snippets of code work best together and when to use a certain snippet in place of another. Because it “learns” the system can get faster and faster as it builds more programs.
Matej Balog at the University of Cambridge and Alexander L. Gaunt, Marc Brockschmidt, Sebastian Nowozin, Daniel Tarlow at Microsoft Research built the product and co-authored a paper on its use. Programmers note that a system like this can’t build larger projects out of small snippets of code which, to be fair, sounds like whistling past the graveyard.
Given that this is how many programmers work – cutting up code and repurposing it – this seems like an excellent use for deep learning systems. I can imagine this being a great solution for simple CRUD apps – the basic tools needed to update and add records to a database. In fact, it could mean the end of the entry level programmer job all together. I, for one, welcome our job-killing AI-powered robot overlords.