{"id":11056,"date":"2021-11-12T07:00:00","date_gmt":"2021-11-12T15:00:00","guid":{"rendered":"https:\/\/formtek.com\/blog\/?p=11056"},"modified":"2021-06-30T14:50:07","modified_gmt":"2021-06-30T22:50:07","slug":"artificial-intelligence-ai-that-can-write-code","status":"publish","type":"post","link":"https:\/\/formtek.com\/blog\/artificial-intelligence-ai-that-can-write-code\/","title":{"rendered":"Artificial Intelligence: AI that Can Write Code"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Last year software developers were astonished when word got out that OpenAI&#8217;s GPT-3 AI-based text generator was able to write code based on natural English text prompts.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/en.wikipedia.org\/wiki\/John_Carmack\" data-type=\"URL\" data-id=\"https:\/\/en.wikipedia.org\/wiki\/John_Carmack\">John Carmack<\/a>, programmer and game developer, <a href=\"https:\/\/twitter.com\/id_aa_carmack\/status\/1284901555917987847?lang=en\" data-type=\"URL\" data-id=\"https:\/\/twitter.com\/id_aa_carmack\/status\/1284901555917987847?lang=en\">tweeted that<\/a> &#8220;I used to say that AI research seemed to have an odd blind spot towards automation of programming work, and I suspected a subconscious self-preservation bias. The recent, almost accidental, discovery that GPT-3 can sort of write code does generate a slight shiver.&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A 2013 study from <a href=\"https:\/\/www.oxfordmartin.ox.ac.uk\/downloads\/academic\/The_Future_of_Employment.pdf\" data-type=\"URL\" data-id=\"https:\/\/www.oxfordmartin.ox.ac.uk\/downloads\/academic\/The_Future_of_Employment.pdf\">Oxford<\/a> estimates that 47 percent of all US jobs will be automated by 2030.  That number seems a little high and automation growth a little too fast, but a lot can change in a decade &#8212; who knows? In 2019, <a href=\"https:\/\/www.mckinsey.com\/~\/media\/mckinsey\/featured%20insights\/Digital%20Disruption\/Harnessing%20automation%20for%20a%20future%20that%20works\/MGI-A-future-that-works_In-brief.ashx\" data-type=\"URL\" data-id=\"https:\/\/www.mckinsey.com\/~\/media\/mckinsey\/featured%20insights\/Digital%20Disruption\/Harnessing%20automation%20for%20a%20future%20that%20works\/MGI-A-future-that-works_In-brief.ashx\">McKinsey estimated<\/a> that it will take longer &#8212; by 2055 50 percent of jobs will be automated.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Will code developers be safe from the on-coming take-over by AI and automation?  To anyone who has done code development, it seems hard to imagine that the job can be automated.  In the short-term what is most likely to happen is that AI-tools will accelerate the work of developers.  Auto-suggestions for which APIs to use, code completion, and assistance debugging are all tasks that could speed-up the job of developers.  <a href=\"https:\/\/venturebeat.com\/2021\/05\/10\/ibms-codenet-dataset-aims-to-train-ai-to-tackle-programming-challenges\/\" data-type=\"URL\" data-id=\"https:\/\/venturebeat.com\/2021\/05\/10\/ibms-codenet-dataset-aims-to-train-ai-to-tackle-programming-challenges\/\">Others hope that code translation,<\/a> the rewriting of software from one computer language to another, is the initial kind of problem that AI can be trained for and has a good chance to be able to excel at.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.linkedin.com\/in\/jkevinscott\/\" data-type=\"URL\" data-id=\"https:\/\/www.linkedin.com\/in\/jkevinscott\/\">Kevin Scott<\/a>, chief technology officer at Microsoft, <a href=\"https:\/\/www.cnbc.com\/2021\/06\/29\/microsoft-github-copilot-ai-offers-coding-suggestions.html\" data-type=\"URL\" data-id=\"https:\/\/www.cnbc.com\/2021\/06\/29\/microsoft-github-copilot-ai-offers-coding-suggestions.html\">said that<\/a> AI and auto-suggestion &#8220;can save the developer from having to dive through a whole bunch of documentation to get a tool to do a thing that I know it\u2019s capable of doing, and that is so good for productivity. I can\u2019t even tell you the number of hours I\u2019ve wasted trying to figure out the right way to do a relatively prosaic thing, just navigating the complexity of these tools.\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.linkedin.com\/in\/bpaskalev\/?originalSubdomain=ch\" data-type=\"URL\" data-id=\"https:\/\/www.linkedin.com\/in\/bpaskalev\/?originalSubdomain=ch\">Boris Paskalev<\/a>, head of product at Snyk, <a href=\"https:\/\/venturebeat.com\/2021\/06\/18\/ai-weekly-the-promise-and-limitations-of-machine-programming-tools\/\" data-type=\"URL\" data-id=\"https:\/\/venturebeat.com\/2021\/06\/18\/ai-weekly-the-promise-and-limitations-of-machine-programming-tools\/\">said that<\/a> &#8220;since there are no formal rules for software development, [programming] is an art that requires a complete understanding of code and a developer\u2019s intentions to produce something that works as expected without bugs. As far as we\u2019ve come in using machine learning and neural networks for code, we\u2019re still only in the \u2018invention of the wheel\u2019 phase \u2026 machine learning is already proving to be very useful for code, but only after it goes through a semantic machine learning-representation of the code: making sure all semantic facts, variables, transitions, and logical interrelations are clearly represented and considered by the learning model.\u201d<\/p>\n<div class=\"lightsocial_container\"><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/digg.com\/submit?url=https%3A%2F%2Fformtek.com%2Fblog%2Fartificial-intelligence-ai-that-can-write-code%2F&amp;title=\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/digg.png\" alt=\"Digg This\" title=\"Digg This\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/www.reddit.com\/submit?url=https%3A%2F%2Fformtek.com%2Fblog%2Fartificial-intelligence-ai-that-can-write-code%2F&amp;title=\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/reddit.png\" alt=\"Reddit This\" title=\"Reddit This\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/www.stumbleupon.com\/submit?url=https%3A%2F%2Fformtek.com%2Fblog%2Fartificial-intelligence-ai-that-can-write-code%2F&amp;title=\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/stumbleupon.png\" alt=\"Stumble Now!\" title=\"Stumble Now!\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/buzz.yahoo.com\/buzz?targetUrl=https%3A%2F%2Fformtek.com%2Fblog%2Fartificial-intelligence-ai-that-can-write-code%2F&amp;headline=\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/yahoo_buzz.png\" alt=\"Buzz This\" title=\"Buzz This\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/www.dzone.com\/links\/add.html?title=&amp;url=https%3A%2F%2Fformtek.com%2Fblog%2Fartificial-intelligence-ai-that-can-write-code%2F\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/dzone.png\" alt=\"Vote on DZone\" title=\"Vote on DZone\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/www.facebook.com\/sharer.php?t=&amp;u=https%3A%2F%2Fformtek.com%2Fblog%2Fartificial-intelligence-ai-that-can-write-code%2F\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/facebook.png\" alt=\"Share on Facebook\" title=\"Share on Facebook\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/delicious.com\/save?title=&amp;url=https%3A%2F%2Fformtek.com%2Fblog%2Fartificial-intelligence-ai-that-can-write-code%2F\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/delicious.png\" alt=\"Bookmark this on Delicious\" title=\"Bookmark this on Delicious\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/www.dotnetkicks.com\/kick\/?title=&amp;url=https%3A%2F%2Fformtek.com%2Fblog%2Fartificial-intelligence-ai-that-can-write-code%2F\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/dotnetkicks.png\" alt=\"Kick It on DotNetKicks.com\" title=\"Kick It on DotNetKicks.com\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/dotnetshoutout.com\/Submit?title=&amp;url=https%3A%2F%2Fformtek.com%2Fblog%2Fartificial-intelligence-ai-that-can-write-code%2F\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/dotnetshoutout.png\" alt=\"Shout it\" title=\"Shout it\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/www.linkedin.com\/shareArticle?mini=true&amp;url=https%3A%2F%2Fformtek.com%2Fblog%2Fartificial-intelligence-ai-that-can-write-code%2F&amp;title=&amp;summary=&amp;source=\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/linkedin.png\" alt=\"Share on LinkedIn\" title=\"Share on LinkedIn\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/www.technorati.com\/faves?add=https%3A%2F%2Fformtek.com%2Fblog%2Fartificial-intelligence-ai-that-can-write-code%2F\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/technorati.png\" alt=\"Bookmark this on Technorati\" title=\"Bookmark this on Technorati\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/twitter.com\/home?status=Reading+https%3A%2F%2Fformtek.com%2Fblog%2Fartificial-intelligence-ai-that-can-write-code%2F\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/twitter.png\" alt=\"Post on Twitter\" title=\"Post on Twitter\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/www.google.com\/buzz\/post?url=https%3A%2F%2Fformtek.com%2Fblog%2Fartificial-intelligence-ai-that-can-write-code%2F\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/google_buzz.png\" alt=\"Google Buzz (aka. Google Reader)\" title=\"Google Buzz (aka. Google Reader)\" \/><\/a><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Last year software developers were astonished when word got out that OpenAI&#8217;s GPT-3 AI-based text generator was able to write code based on natural English text prompts. John Carmack, programmer and game developer, tweeted that &#8220;I used to say that<span class=\"ellipsis\">&hellip;<\/span><\/p>\n<div class=\"read-more\"><a href=\"https:\/\/formtek.com\/blog\/artificial-intelligence-ai-that-can-write-code\/\">Read more &#8250;<\/a><\/div>\n<p><!-- end of .read-more --><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[69],"tags":[],"class_list":["post-11056","post","type-post","status-publish","format-standard","hentry","category-artificial-intelligence"],"_links":{"self":[{"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/posts\/11056","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/comments?post=11056"}],"version-history":[{"count":1,"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/posts\/11056\/revisions"}],"predecessor-version":[{"id":11057,"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/posts\/11056\/revisions\/11057"}],"wp:attachment":[{"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/media?parent=11056"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/categories?post=11056"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/tags?post=11056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}