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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Rust for Windows 0.9

192 点作者 chenzhekl大约 4 年前

11 条评论

turbinerneiter大约 4 年前
I feel like MS naming convention are flipped on the head.<p>Rust for Windows -&gt; a version of Rust for Windows? Windows Library for Rust -&gt; a library for Rust that allows to interface with Windows APIs<p>Same with Windows Subsystem for Linux. It&#x27;s a Linux system for Windows.<p>But hey, that&#x27;s just names. Nice for win-devs to get more languages supported.
评论 #27085832 未加载
评论 #27085423 未加载
评论 #27088923 未加载
评论 #27085711 未加载
评论 #27085499 未加载
评论 #27087274 未加载
评论 #27085645 未加载
评论 #27085627 未加载
评论 #27085803 未加载
评论 #27087217 未加载
评论 #27085620 未加载
评论 #27088742 未加载
评论 #27085635 未加载
评论 #27088822 未加载
gtirloni大约 4 年前
I&#x27;m completely confused by Microsoft&#x27;s use of &quot;for Windows&quot; naming.<p>Rust for Windows already exists. This is a Windows SDK for Rust.<p>Windows Subsystem for Linux is Linux subsystem for Windows.<p>Is this some usage of the &quot;for&quot; word that I&#x27;m not getting? I&#x27;m a non-native English speaker so I could be at fault here.
评论 #27085816 未加载
评论 #27086085 未加载
评论 #27086513 未加载
saurabh20n大约 4 年前
I just started using this library 2 weeks ago. It is beautiful. We were in python land, and dreading moving to C++ for performance. This is a life saver.<p>Not having to dig up COM UUIDs for interfaces is super nice. The lead developer of com-rs told me that com-rs is deprecated in favor of windows-rs (he works on both.)
评论 #27089796 未加载
k4ch0w大约 4 年前
I recently tried to use this library and had to go back to winapi-rs for the mean time.<p>The bindings to set it up gave hard to debug errors and there is no support for compiling the x86_64-pc-windows-gnu toolchain on anything else besides a windows system; Which makes sense but winapi-rs compiled on Linux so I stuck with it. I don&#x27;t want to manage another build machine and I know I&#x27;m probably like the one guy.<p>Working with strings was a bit rough too, it&#x27;d be nice if you could just pass a CStr and call it a day instead of messing with buffers and lengths and double function calls, one to get size of the string and then another to fill the actual buffer. I know this is how Win32 works, but it doesn&#x27;t feel natural coming from Linux Kernel Dev.<p>Regardless of my criticisms, I am excited to see the future of this crate. I think it&#x27;s an awesome effort and a great addition to Rust and Windows.
BoardsOfCanada大约 4 年前
I wish apple would do the same.
评论 #27086871 未加载
dataflow大约 4 年前
A bit off-topic but is the C++ API library for Windows coming along too? I&#x27;ve been looking out for that, but I&#x27;m not sure what state it&#x27;s in.
评论 #27085606 未加载
softblush大约 4 年前
Why is the v in v0.9 missing in the title
评论 #27085670 未加载
mrlonglong大约 4 年前
When are they going to do a Rust backend to generate .Net code?
评论 #27088934 未加载
评论 #27088768 未加载
a3w大约 4 年前
Windows 0.9 was an OS in 1980s... NOT.
pdenton大约 4 年前
After Windows 10 comes 0.9? Did 11 cause a version integer overflow?
tbrock大约 4 年前
Why is microsoft posting this &#x2F; working on this rather than the rust project itself?
评论 #27085353 未加载
评论 #27085392 未加载
评论 #27085339 未加载
评论 #27085316 未加载
评论 #27087553 未加载