Now Amazon debuts an AI programming assistant – CodeWhisperer

Did they get GitHub Copilot to write it?

Amazon at its re:Mars conference in Las Vegas on Thursday announced a preview of an automated programming assistance tool called CodeWhisperer.

Available to those who have obtained an invitation through the AWS IDE Toolkit, a plugin for code editors to assist with writing AWS applications, CodeWhisperer is Amazon's answer to GitHub Copilot, an AI (machine learning-based) code generation extension that entered general availability earlier this week.

In a blog post, Jeff Barr, chief evangelist for AWS, said the goal of CodeWhisperer is to make software developers more productive.

"CodeWhisperer will continually examine your code and your comments, and present you with syntactically correct recommendations," said Barr. "The recommendations are synthesized based on your coding style and variable names, and are not simply snippets."

The service is free during the preview period, as was Microsoft's GitHub Copilot, now priced at $10 per month.

Barr said CodeWhisperer analyzes various signals to suggest appropriate bits of code, including cursor location, preceding code, comments, and code in other project files. The software, he said, is trained on billions of lines of code in open-source repositories, internal Amazon repos, API docs, and online forums.

As such, it may run into the same issues as Copilot about code quality and potential licensing concerns. The academic community has already started looking at how AI coding tools like Copilot perform in terms of code quality.

So far, the answer is not all that well. For example, a 2021 research paper [PDF] from NYU computer scientists found that 40 percent of 1,689 programs made with Copilot suggestions produced code with known weaknesses. But continued attention and iteration to these systems should help them improve eventually.

Another recent paper, "Is GitHub Copilot a Substitute for Human Pair-programming? An Empirical Study," concludes that Copilot accelerates the production of inferior code.

The answer may be more AI, at least to those that have bet the farm on machine smarts. Amazon already has a service called CodeGuru that has been trained via machine learning to find vulnerabilities and automate the code review process. Once you're in the business of fixing bad code, why not ensure an ample supply?

Amazon has tried to address worries that suggested code will violate someone's copyright or licensing terms by surfacing that information.

"CodeWhisperer’s reference tracker detects whether a code recommendation may be similar to particular CodeWhisperer training data, and can provide those references to you," the service's FAQs explain. "This allows you to easily find and review that reference code and how it is used in the context of another project."

Amazon promises – during the preview period – not to use code written by developers to train its machine learning models, though it does measure developer metrics such as the acceptance and rejection of code suggestions to refine the service's performance. After the preview concludes, who knows, but the specificity of Amazon's exclusion suggests the company will start scanning customer code for the betterment of its ML model.

Barr provides some examples of CodeWhisperer's capabilities. He describes how he typed the Python comment line # See if a number is prime and CodeWhisperer responded with a function to make that computation.

CodeWhisperer also understands how AWS services work and so is capable of generating potentially useful suggestions for those building on the AWS platform. Presented with the comment # create S3 bucket, CodeWhisperer generated the appropriate steps.

The preview version of CodeWhisperer can deal with code in Python, Java, and JavaScript, in the context of VS Code, IntelliJ IDEA, PyCharm, WebStorm, or AWS Cloud9. Amazon is planning to add support for the AWS Lambda Console shortly. ®

Broader topics

Other stories you might like

  • Oracle cloud growth up 19% but it's still a market minnow
    Acquisition of health data specialist Cerner adds $15.8b to Big Red's debt

    Oracle has impressed the markets with strong revenue growth for cloud infrastructure and applications-as-a-service.

    However, Oracle is still struggling to gain a larger share of the global cloud market, where it lags behind AWS, Microsoft Azure, and Google Cloud.

    Big Red's total revenue for Q4, which ended May 31, hit $11.8 billion, up 5 per cent on the same period a year ago. Total cloud revenue, including infrastructure and software-as-a-service, reached $2.9 billion, up 19 percent. Cloud ERP Fusion revenue increased 20 percent while NetSuite ERP cloud revenue grew 27 per cent.

    Continue reading
  • Trio accused of selling $88m of pirated Avaya licenses
    Rogue insider generated keys, resold them to blow the cash on gold, crypto, and more, prosecutors say

    Three people accused of selling pirate software licenses worth more than $88 million have been charged with fraud.

    The software in question is built and sold by US-based Avaya, which provides, among other things, a telephone system called IP Office to small and medium-sized businesses. To add phones and enable features such as voicemail, customers buy the necessary software licenses from an Avaya reseller or distributor. These licenses are generated by the vendor, and once installed, the features are activated.

    In charges unsealed on Tuesday, it is alleged Brad Pearce, a 46-year-old long-time Avaya customer service worker, used his system administrator access to generate license keys tens of millions of dollars without permission. Each license could sell for $100 to thousands of dollars.

    Continue reading
  • AWS sent edgy appliance to the ISS and it worked – just like all the other computers up there
    Congrats, AWS, you’ve boldly gone where the Raspberry Pi has already been

    Amazon Web Services has proudly revealed that the first completely private expedition to the International Space Station carried one of its Snowcone storage appliances, and that the device worked as advertised.

    The Snowcone is a rugged shoebox-sized unit packed full of disk drives – specifically 14 terabytes of solid-state disk – a pair of VCPUs and 4GB of RAM. The latter two components mean the Snowcone can run either EC2 instances or apps written with AWS’s Greengrass IoT product. In either case, the idea is that you take a Snowcone into out-of-the-way places where connectivity is limited, collect data in situ and do some pre-processing on location. Once you return to a location where bandwidth is plentiful, it's assumed you'll upload the contents of a Snowcone into AWS and do real work on it there.

    Continue reading
  • AWS buys before it tries with quantum networking center
    Fundamental problems of qubit physics aside, the cloud giant thinks it can help

    Nothing in the quantum hardware world is fully cooked yet, but quantum computing is quite a bit further along than quantum networking – an esoteric but potentially significant technology area, particularly for ultra-secure transactions. Amazon Web Services is among those working to bring quantum connectivity from the lab to the real world. 

    Short of developing its own quantum processors, AWS has created an ecosystem around existing quantum devices and tools via its Braket (no, that's not a typo) service. While these bits and pieces focus on compute, the tech giant has turned its gaze to quantum networking.

    Alongside its Center for Quantum Computing, which it launched in late 2021, AWS has announced the launch of its Center for Quantum Networking. The latter is grandly working to solve "fundamental scientific and engineering challenges and to develop new hardware, software, and applications for quantum networks," the internet souk declared.

    Continue reading

Biting the hand that feeds IT © 1998–2022