Article 6C3P6 AI system devises first optimizations to sorting code in over a decade

AI system devises first optimizations to sorting code in over a decade

by
John Timmer
from Ars Technica - All content on (#6C3P6)
GettyImages-1403644222-800x533.jpg

Enlarge (credit: Anas Photography)

Anyone who has taken a basic computer science class has undoubtedly spent time devising a sorting algorithm-code that will take an unordered list of items and put them in ascending or descending order. It's an interesting challenge because there are so many ways of doing it and because people have spent a lot of time figuring out how to do this sorting as efficiently as possible.

Sorting is so basic that algorithms are built into most standard libraries for programming languages. And, in the case of the C++ library used with the LLVM compiler, the code hasn't been touched in over a decade.

But Google's DeepMind AI group has now developed a reinforcement learning tool that can develop extremely optimized algorithms without first being trained on human code examples. The trick was to set it up to treat programming as a game.

Read 16 remaining paragraphs | Comments

External Content
Source RSS or Atom Feed
Feed Location http://feeds.arstechnica.com/arstechnica/index
Feed Title Ars Technica - All content
Feed Link https://arstechnica.com/
Reply 0 comments