TechCrunch News 2024年12月04日
AWS wants Amazon Q to become your buddy for the entire software development lifecycle
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

AWS在re:Invent大会上宣布了一系列针对其编码助手平台Q Developer的更新,旨在帮助开发者简化软件开发流程中的各种日常任务,例如代码生成、测试、文档编写和代码审查等。Q Developer扩展了其功能,从简单的代码补全发展到涵盖整个软件生命周期,包括代码迁移和问题排查等,并集成了AWS CloudWatch等服务,帮助开发者更快地解决生产环境问题。此外,Q Developer还提供了针对老旧代码库的迁移工具,例如Java、.NET和COBOL,帮助企业将传统应用迁移到云环境,提升应用效率和灵活性。

🤔 **扩展软件开发生命周期覆盖范围:**Q Developer不再局限于代码补全,而是扩展到涵盖整个软件生命周期,包括代码生成、测试、文档编写、代码审查、问题排查和代码迁移等环节,帮助开发者更有效地完成开发任务。

🔍 **自动生成单元测试和代码文档:**Q Developer可以自动生成单元测试,并自动编写和维护代码文档,有效缓解开发者在这些繁琐工作上的负担,提高开发效率。

🤖 **智能化代码审查和问题排查:**Q Developer可以作为代码审查的第一道关卡,自动检查代码质量和安全漏洞,并结合AWS CloudWatch数据智能分析生产环境问题,帮助开发者快速定位并解决问题。

🔄 **支持多种语言的代码迁移:**Q Developer提供代码迁移工具,支持Java、.NET和COBOL等语言,帮助企业将传统应用迁移到云环境,例如将.NET应用从Windows迁移到Linux,以及将COBOL应用迁移到云平台。

☁️ **基于AWS云服务的深度集成:**Q Developer与AWS CloudWatch等服务深度集成,能够自动收集和分析云环境数据,帮助开发者更有效地监控和管理应用,并快速解决生产环境问题。

At its re:Invent conference, AWS today announced a series of updates to Q Developer, its coding assistant platform that competes with the likes of GitHub Copilot. The focus here is on going beyond code completion and to help developers with a wider range of routine tasks involved in the end-to-end software lifecycle.

The service, which you may still remember under its previous name of ‘CodeWhisperer,’ is part of AWS’s overall Amazon Q generative AI platform, which also includes Q Business (and which is also getting a slew of updates today).

“What developers need is they want to actually have Q be the buddy to solve some of the undifferentiated heavy lifting so that they can actually have more freedom to innovate,” Swaminathan ‘Swami’ Sivasubramanian, AWS’ VP of AI and Data, told me. “So that’s why having an assistant — or buddy — that helps them do things faster, more streamlined, is such an important thing, and that’s why we’re focused on it in a big way.”

Sivasubramanian told me that he believes what differentiates Q Developer from competing platforms is its focus on the entire software development lifecycle. So far that meant helping developers troubleshoot issues and perform multi-step tasks to fix them (or built entirely new apps), as well as scan the code for security vulnerabilities.

At this re:Invent, the company is taking this a step further. Q can now, for example, automatically generate unit tests, for example. But what’s maybe even more important is that it can now also do the one thing that many developers hate the most: write and maintain the documentation for that code. To complete this cycle, Q can now generate a first code review when developers check in their code.

“In Amazon, we have this rule that no code ever gets checked in without a code review,” Sivasubramanian said. “So if you don’t do a code review, then you cannot check in code. But not many enterprises actually have either enough senior engineers to review or the senior engineer says: ‘I can’t deal with so many reviews. Can somebody first review it before we do so?’ Q we will streamline the code review process by being the first line of reviewer and takes care of the automatically checking code quality, security vulnerabilities and so forth.”

Then, once the code is in production, a new operations agent for Q can now automatically pull in data from AWS CloudWatch, the company’s monitoring service, and immediatly start investigating when an alarm goes off. “It utilizes the [knowlege it has about an] organization’s AWS resources and then it sifts through hundreds of data points across various resources sitting in CloudWatch. Then, after analyzing it, Q comes up with potential hypothesis for the root cause and then it guides the users through how to fix it,” Sivasubramanian explained.

For those enterprises with older codebases, transitioning to the cloud often involves rewriting a lot of their existing code. One of the earliest differentating features of Amazon Q Developer was its agent for code transformation. At the time, the focus of this agent was to on moderizing older Java apps. Today, the team is expanding this by also helping developer update their older .NET-based applications from Windows to Linux.

And while this may at first seem like a curiosity, AWS is also launching an agent for modernizing COBOL mainframe applications. A lot of large enterprises still rely on this old code, after all, which few developers know to work with today. These are very complex migrations, Sivasubramanian stressed, and so the goal here is not to simply translate the existing code 1:1.

“Our goal is not to actually just like fully COBOL project in, code out,” he said. “The reality is, these projects are inherently extremely complex. You need to have a human in the loop to leverage it, but I’ve heard customers say, ‘Hey, this takes multiple years and customers have explicitly told us this is a game changer and would significantly drop that timeline.”

Sivasubramanian noted that while there is less COBOL code to train models to automate the code migration, the team was able to leverage AWS’ overall experience in modernizing mainframe applications, as well as more traditional methods for code translation.

“Taking code from one language to another one arguably is the easy part,” he said. “But the harder part is: how do you know you got it right? And how do you even know what the code does? And then the challenge in these [codebases] is they are usually poorly documented and dependencies are not well understood. So what we have built is really extremely innovative, and [the system] also understands, at a project level, what are the objectives of each of the module, and then plans out and creates a migration planning timeline to actually generate the code, and then generate the test — and bringing humans in the loop to see how you validate it.”

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

AWS Q Developer AI编码助手 软件开发 代码迁移
相关文章