TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

First Rust code in the Windows 11 kernel

206 点作者 wojtczyk大约 2 年前

7 条评论

jsheard大约 2 年前
On a related note, Azure just endorsed Rust to replace C&#x2F;C++ as the non-garbage-collected language of choice.<p><a href="https:&#x2F;&#x2F;azure.microsoft.com&#x2F;en-us&#x2F;blog&#x2F;microsoft-azure-security-evolution-embrace-secure-multitenancy-confidential-compute-and-rust&#x2F;" rel="nofollow">https:&#x2F;&#x2F;azure.microsoft.com&#x2F;en-us&#x2F;blog&#x2F;microsoft-azure-secur...</a><p><i>&gt; Rust as the path forward over C&#x2F;C++<p>&gt; Decades of vulnerabilities have proven how difficult it is to prevent memory-corrupting bugs when using C&#x2F;C++. While garbage-collected languages like C# or Java have proven more resilient to these issues, there are scenarios where they cannot be used. For such cases, we’re betting on Rust as the alternative to C&#x2F;C++. Rust is a modern language designed to compete with the performance C&#x2F;C++, but with memory safety and thread safety guarantees built into the language. While we are not able to rewrite everything in Rust overnight, we’ve already adopted Rust in some of the most critical components of Azure’s infrastructure. We expect our adoption of Rust to expand substantially over time.</i>
评论 #35925420 未加载
评论 #35928464 未加载
评论 #35925355 未加载
solarkraft大约 2 年前
Damn! If I&#x27;m correctly informed, this is before Linux is doing it (actually shipping rust code, not having the infrastructure in place).
评论 #35926156 未加载
评论 #35927202 未加载
评论 #35924338 未加载
评论 #35924745 未加载
评论 #35924822 未加载
criddell大约 2 年前
How’s Rust for desktop application development? Are there frameworks like MFC or ATL or WTL or WinRT? Is COM development or using UWP significantly more difficult in Rust than C++ or C#?
评论 #35927383 未加载
评论 #35927834 未加载
sylware大约 2 年前
Huh? linux is the windows kernel or what?
usr1106大约 2 年前
Shows up? I haven&#x27;t used Windows for close to 15 years, but I have not heard that their kernel would be open source now.
评论 #35925848 未加载
badrabbit大约 2 年前
Win32k.sys in rust would kill so many future bugs. RIP.
esaym大约 2 年前
Why Rust? Doesn&#x27;t Microsoft have their own similar language, C#? And then isn&#x27;t there some lore about the reason Windows Vista took so long to release was due to them trying to write the entire OS in C# or something and then having to redo everything?
评论 #35924803 未加载
评论 #35924397 未加载
评论 #35926603 未加载
评论 #35926418 未加载
评论 #35924787 未加载
评论 #35924412 未加载
评论 #35924899 未加载
评论 #35927769 未加载
评论 #35925868 未加载