Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

+1

微软于近日宣布,已使用 Rust 语言重写其 2017 年发布的 Azure Quantum 开发工具(QDK),并将其编译成 WebAssembly 格式,以供 Visual Studio Code 和网页使用。据官方宣称,新的开发工具速度提升超过 100 倍,安装体积也缩小超过 100 倍,整体安装和开发流程更容易,甚至在浏览器中也可以适用。

值得一提的是,旧版开发工具以.NET 为基础,因此开发者使用该工具时,需要先学习.NET,这增加了额外的学习成本。此外,旧版开发工具不完全兼容 Apple Silicon 和 ARM64 版 Windows,因此安装使用成本较为复杂。因此,微软在 2022 年底决定重新设计开发工具,降低开发门槛,简化安装、学习、开发、维护等任务。其中一项关键改变是尽可能以 Rust 语言编写,因为 Rust 语言相对更普适化,并能让程序在浏览器中运作。

新版开发工具改进成果相当显著,其中体积缩小超过 100 倍,原本的开发工具会在本地产生超过 180 MB 的占用,现在新的 VS Code 扩充套件的 VSIX 只有约为 700KB,就已经包含开发所需要的所有内容,安装仅需要几秒钟。在效率方面,新版开发工具也有大幅提升,过去编译需要以分钟计时,而现在编译只要“毫秒时间”,甚至“在浏览器中也能获得这样的高效体验”。

微软的 VS Code for the Web 能够在浏览器中执行 IDE,不需要本地安装,因此相关开发人员也可以在浏览器中操作,不需要在本地安装任何软件。

总的来说,微软重写 Azure Quantum 开发工具并使用 Rust 语言编写,大幅提升了性能和安装使用体验,为开发者提供了更加便捷和高效的开发环境。

【来源】https://www.ithome.com/0/720/955.htm

Views: 2

+1

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注