{"id":125119,"date":"2022-05-24T15:03:40","date_gmt":"2022-05-24T15:03:40","guid":{"rendered":"https:\/\/news.microsoft.com\/?p=446334"},"modified":"2022-05-24T15:03:40","modified_gmt":"2022-05-24T15:03:40","slug":"how-ai-makes-developers-lives-easier-and-helps-everybody-learn-to-develop-software","status":"publish","type":"post","link":"https:\/\/sickgaming.net\/blog\/2022\/05\/24\/how-ai-makes-developers-lives-easier-and-helps-everybody-learn-to-develop-software\/","title":{"rendered":"How AI makes developers\u2019 lives easier, and helps everybody learn to develop software"},"content":{"rendered":"<p>Ever since Ada Lovelace, a polymath often considered the first computer programmer, proposed in 1843 using holes punched into cards to solve mathematical equations on a never-built mechanical computer, software developers have been translating their solutions to problems into step-by-step instructions that computers can understand.<\/p>\n<p>That\u2019s now changing, according to <a href=\"https:\/\/news.microsoft.com\/exec\/kevin-scott\/\">Kevin Scott, Microsoft\u2019s chief technology officer<\/a>.<\/p>\n<p>Today, AI-powered software development tools are allowing people to build software solutions using the same language that they use when they talk to other people. These AI-powered tools translate natural language into the programming languages that computers understand.<\/p>\n<p>\u201cThat allows you, as a developer, to have an intent to accomplish something in your head that you can express in natural language and this technology translates it into code that achieves the intent you have,\u201d Scott said. \u201cThat\u2019s a fundamentally different way of thinking about development than we\u2019ve had since the beginning of software.\u201d<\/p>\n<p>This paradigm shift is driven by <a href=\"https:\/\/openai.com\/blog\/openai-codex\/\">Codex<\/a>, a machine learning model from AI research and development company <a href=\"https:\/\/openai.com\/\">OpenAI<\/a> that can translate natural language commands into code in more than a dozen programming languages.<\/p>\n<p>Codex descended from GPT-3, OpenAI\u2019s natural language model that was trained on petabytes of language data from the internet. Codex was trained on this language data as well as code from GitHub software repositories and other public sources.<\/p>\n<p>\u201cIt makes coding more productive in terms of removing not-so-fun work and also helping you remember things you might have forgotten and helping you with the approach to solve problems,\u201d Peter Welinder, vice president of products and partnerships for OpenAI, said of Codex.<\/p>\n<figure id=\"attachment_83054\" aria-describedby=\"caption-attachment-83054\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.sickgaming.net\/blog\/wp-content\/uploads\/2022\/05\/how-ai-makes-developers-lives-easier-and-helps-everybody-learn-to-develop-software.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-83054 size-full\" src=\"https:\/\/www.sickgaming.net\/blog\/wp-content\/uploads\/2022\/05\/how-ai-makes-developers-lives-easier-and-helps-everybody-learn-to-develop-software.jpg\" alt=\"Example of Codex where the creator, working in the graphics rendering engine Babylon.js, entered the natural language command, \u201ccreate a model of the solar system\u201d into the text box and the AI-powered software translated the command into code for a solar system model\" width=\"2000\" height=\"1124\"><\/a><figcaption id=\"caption-attachment-83054\" class=\"wp-caption-text\">In this example, a creator working in the graphics rendering engine Babylon.js entered the natural language command, \u201ccreate a model of the solar system\u201d into the text box and the AI-powered software translated the command into code for a solar system model.<\/figcaption><\/figure>\n<p>The increase in productivity that Codex brings to software development is a game changer, according to Scott. It allows developers to accomplish many tasks in two minutes that previously took two hours.<\/p>\n<p>\u201cAnd oftentimes, the things that the tools are doing is they are helping you to very quickly go through the least interesting parts of your job so that you can get to the most interesting parts of your job, which makes the qualitative experience of creating much more pleasant and stimulating and fun,\u201d he said.<\/p>\n<h2>AI and code come together<\/h2>\n<p><a href=\"https:\/\/news.microsoft.com\/2019\/07\/22\/openai-forms-exclusive-computing-partnership-with-microsoft-to-build-new-azure-ai-supercomputing-technologies\/\">Microsoft and OpenAI formed a partnership in 2019<\/a> to accelerate breakthroughs in AI \u2013 including jointly developing some of the world\u2019s most <a href=\"https:\/\/blogs.microsoft.com\/ai\/openai-azure-supercomputer\/\">powerful AI supercomputers<\/a> \u2013 and deliver them to developers to build the next generation of AI applications through <a href=\"https:\/\/aka.ms\/AAgop4y\">Azure OpenAI Service<\/a>.<\/p>\n<p>Microsoft subsidiary GitHub also worked with OpenAI to integrate Codex into <a href=\"https:\/\/copilot.github.com\/\">GitHub Copilot<\/a>, a downloadable extension for software development programs such as Visual Studio Code. The tool uses Codex to draw context from a developer\u2019s existing code to suggest additional lines of code and functions. Developers can also describe what they want to accomplish in natural language, and Copilot will draw on its knowledge base and current context to surface an approach or solution.<\/p>\n<p>GitHub Copilot, released in a technical preview in June 2021, today suggests about 35% of the code in popular languages like Java and Python generated by the tens of thousands of developers in the technical preview who regularly use GitHub Copilot. GitHub Copilot will move to general availability this summer, bringing this AI-assisted coding capability to millions of professional developers, Microsoft announced today at its <a href=\"https:\/\/aka.ms\/AAgop4s\">Microsoft Build developer\u2019s conference<\/a>.<\/p>\n<p>\u201cA lot of software has common frameworks and pieces of scaffolding. Copilot does such an awesome job of doing all that for you so you can focus your energy and your creativity on the things that you\u2019re trying to solve uniquely,\u201d said Julia Liuson, president of the developer division at Microsoft, which includes GitHub.<\/p>\n<figure id=\"attachment_83056\" aria-describedby=\"caption-attachment-83056\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.sickgaming.net\/blog\/wp-content\/uploads\/2022\/05\/how-ai-makes-developers-lives-easier-and-helps-everybody-learn-to-develop-software-1.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-83056 size-full\" src=\"https:\/\/www.sickgaming.net\/blog\/wp-content\/uploads\/2022\/05\/how-ai-makes-developers-lives-easier-and-helps-everybody-learn-to-develop-software-1.jpg\" alt=\"Julia Liuson, the president of the developer division at Microsoft is shown speaking at a conference.\" width=\"1920\" height=\"1080\"><\/a><figcaption id=\"caption-attachment-83056\" class=\"wp-caption-text\">Julia Liuson, president of the developer division at Microsoft, which includes GitHub, expects that today\u2019s tools will be the first wave of AI-assisted development. Photo courtesy of Microsoft.<\/figcaption><\/figure>\n<p>As more developers experiment with Codex and GitHub Copilot, more clues to the potential of AI-assisted development are emerging, according to Welinder. For example, natural language documentation inside most software programs is sparse. Users of GitHub Copilot create this documentation by default as they use the tool.<\/p>\n<p>\u201cYou get a bunch of comments in the code just from the nature of telling Copilot what to do,\u201d he said. \u201cYou\u2019re documenting the code as you go, which is mind-blowing.\u201d<\/p>\n<p>These comments, in turn, serve as a teaching tool for other developers, who often study other programs to learn how to solve specific problems in their own programs. The ability of Codex to translate from code to natural language is another way developers can learn as they program, which will lower the barrier of entry to coding, Welinder added.<\/p>\n<h2>From low code to no code<\/h2>\n<p>Meanwhile, AI-powered low code and no code tools, such as those available through <a href=\"https:\/\/powerplatform.microsoft.com\/en-us\/\">Microsoft Power Platform<\/a>, aim to enable billions of <a href=\"https:\/\/powerapps.microsoft.com\/en-us\/blog\/6-people-who-changed-careers-with-low-code-from-power-apps\/\">people to develop the software applications<\/a> that they need to solve their unique problems, from <a href=\"https:\/\/powerapps.microsoft.com\/en-us\/blog\/hearing-australia-audiologist-adopts-microsoft-power-platform-to-transform-hearing-loss-prevention-program\/\">an audiologist<\/a> digitizing simple paper forms to transform hearing loss prevention in Australia to a <a href=\"https:\/\/customers.microsoft.com\/en-us\/story\/1409558432315581864-kelly-roofing-uses-power-platform-to-deliver-value\">tool<\/a> that relieves the burden of manual data-entry work from employees of a family owned business and an <a href=\"https:\/\/customers.microsoft.com\/en-us\/story\/1344051519177703370-ey-professional-services-power-apps\">enterprise grade solution<\/a> that processes billions of dollars of COVID-19 loan forgiveness claims for small businesses.<\/p>\n<p>Today, the hundreds of millions of people who are comfortable working with formulas in Microsoft Excel, a spreadsheet program, could easily bring these skills into Power Platform where they can build these types of software applications, according to Charles Lamanna, Microsoft corporate vice president of business applications and platform.<\/p>\n<figure id=\"attachment_83053\" aria-describedby=\"caption-attachment-83053\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.sickgaming.net\/blog\/wp-content\/uploads\/2022\/05\/how-ai-makes-developers-lives-easier-and-helps-everybody-learn-to-develop-software-2.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-83053 size-full\" src=\"https:\/\/www.sickgaming.net\/blog\/wp-content\/uploads\/2022\/05\/how-ai-makes-developers-lives-easier-and-helps-everybody-learn-to-develop-software-2.jpg\" alt=\"Charles Lamanna, Microsoft corporate vice president of business applications and platform is shown leaning against a wall.\" width=\"1980\" height=\"1279\"><\/a><figcaption id=\"caption-attachment-83053\" class=\"wp-caption-text\">Charles Lamanna, Microsoft corporate vice president of business applications and platform, believes AI-powered tools will enable billions of people to develop software. Photo by Dan DeLong for Microsoft.<\/figcaption><\/figure>\n<p>\u201cOne of the big pushes we\u2019ve been doing is to go to the next level, to go from hundreds of millions of people that can use these tools to billions of people that can use these tools,\u201d he said. \u201cAnd the only way we think we can actually do that is to go from low code to no code by using AI-powered development.\u201d<\/p>\n<p>To do this, <a href=\"https:\/\/blogs.microsoft.com\/ai\/from-conversation-to-code-microsoft-introduces-its-first-product-features-powered-by-gpt-3\/\">Lamanna\u2019s team first integrated GPT-3 with Microsoft Power Apps<\/a> for a feature called Power App Ideas, which allows people to create applications using conversational language in Power Fx, an open-source programming language for low code development with its origins in Microsoft Excel. The next step, announced at Build, is a feature called <a href=\"https:\/\/aka.ms\/Build22-Power-Apps-Blog\">Power Apps express design<\/a>, which leverages AI models from <a href=\"https:\/\/azure.microsoft.com\/en-us\/services\/cognitive-services\/\">Azure Cognitive Services<\/a> to turn drawings, images, PDFs and Figma design files into software applications.<\/p>\n<p>\u201cWe\u2019ve made it so that we can do image recognition and map it to the constructs that exist within an application. We understand what\u2019s a button, what\u2019s a grouping, what\u2019s a text box and generate an application automatically based on those drawings without you having to understand and wire up all these different components,\u201d Lamanna said.<\/p>\n<div class=\"video-container responsive-youtube oembed-container\">\n<p id=\"ariaLabel_628e088e37497\" class=\"screen-reader-text\">YouTube Video<\/p>\n<p><button class=\"cookie-consent-btn\">Click here to load media<\/button><\/p>\n<\/div>\n<p><em>A new AI-powered feature called Power Apps express design helps turn sketches and other images into the bones of an app, helping people with little or no coding experience develop software. <\/em><\/p>\n<p>This transition from low code to no code on the back of AI follows a general trend of computing becoming more accessible over time, he added. Personal computers were rare 40 years ago, spreadsheets were uncommon 30 years ago, internet access was limited 20 years ago, for example. Until recently, video and photo editing were reserved for experts.<\/p>\n<p>Software development should also become more accessible, Lamanna said.<\/p>\n<p>\u201cIf we want everybody to be a developer, we can\u2019t plan on teaching everyone how to write Python code or JavaScript. That\u2019s not possible. But it is possible if we create the right experiences and get them in front of enough people who can click and drag and drop and use concepts that are familiar to create amazing solutions,\u201d he said.<\/p>\n<h2>Developers for the software-powered future<\/h2>\n<p>GitHub Copilot as well as the low code and no code offerings available via the Power Platform are the first phase of AI-powered development, according to Liuson. She envisions AI-powered models and tools that will help developers of all ability levels clean data, check code for errors, debug programs and explain what blocks of code mean in natural language.<\/p>\n<p>These features are part of a larger vision of AI-powered tools that could serve as assistants that help developers more quickly find solutions to their problems and help anyone who wants to build an application go from an idea in their head to a piece of software that works.<\/p>\n<p>\u201cAs a developer, we all have days that we have pulled out our hair, saying, \u2018Why is this thing not working?\u2019 And we consult with a more senior developer who points us in the right direction,\u201d Liuson said. \u201cWhen Copilot can go, \u2018Hey here are the four different things that are common with this pattern of problem,\u2019 that will be huge.\u201d<\/p>\n<p>This new era of AI-assisted software development can lead to greater developer productivity, satisfaction and efficiency and make software development more natural and accessible to more people, according to Scott.<\/p>\n<p>For example, a gamer could use natural language to program non-player characters in <a href=\"https:\/\/www.minecraft.net\/en-us\">Minecraft<\/a> to accomplish tasks such as build structures, freeing the gamer to attend to other, more pressing tasks. Graphic designers can use natural language to build 3D scenes in the graphics rendering engine <a href=\"https:\/\/www.babylonjs.com\/\">Babylon.js<\/a>. Teachers can use 3D creation and collaboration tools like <a href=\"https:\/\/framevr.io\/\">FrameVR<\/a> to speak into existence a metaverse world such as a moonscape with rovers and an American flag.<\/p>\n<p>\u201cYou can describe to the AI system what you want to accomplish,\u201d Scott said. \u201cIt can try to figure out what it is you meant and show you part of the solution and then you can refine what the model is showing you. It\u2019s this iterative cycle that\u2019s free flowing and natural.\u201d<\/p>\n<p>These tools, Scott added, will also swell the ranks of developers in a world that will be increasingly powered by software.<\/p>\n<p>\u201cBecause the future is so dependent on software, we want a broad and inclusive set of people participating in its creation,\u201d he said. \u201cWe want people from all sorts of backgrounds and points of view to be able to use the most powerful technology they can lay their hands on to solve the problems that they have, to help them build their businesses and create prosperity for their families and their communities.\u201d<\/p>\n<p><strong>Related<\/strong><\/p>\n<p><em>Top photo: Kevin Scott, Microsoft chief technology officer, said AI-powered tools help developers get from thoughts in their heads to code. Photo courtesy of Microsoft.<\/em><\/p>\n<p><em>John Roach writes about Microsoft research and innovation. Follow him on <\/em><a href=\"https:\/\/twitter.com\/byjohnroach\"><em>Twitter<\/em><\/a><em>.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ever since Ada Lovelace, a polymath often considered the first computer programmer, proposed in 1843 using holes punched into cards to solve mathematical equations on a never-built mechanical computer, software developers have been translating their solutions to problems into step-by-step instructions that computers can understand. That\u2019s now changing, according to Kevin Scott, Microsoft\u2019s chief technology [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":125120,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49],"tags":[555,1342],"class_list":["post-125119","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-news","tag-ai-blog","tag-microsoft-build"],"_links":{"self":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/125119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/comments?post=125119"}],"version-history":[{"count":0,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/125119\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/media\/125120"}],"wp:attachment":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/media?parent=125119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/categories?post=125119"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/tags?post=125119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}