TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Rust for Windows 0.9

192 pointsby chenzheklabout 4 years ago

11 comments

turbinerneiterabout 4 years ago
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 未加载
gtirloniabout 4 years ago
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 未加载
saurabh20nabout 4 years ago
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 未加载
k4ch0wabout 4 years ago
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.
BoardsOfCanadaabout 4 years ago
I wish apple would do the same.
评论 #27086871 未加载
dataflowabout 4 years ago
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 未加载
softblushabout 4 years ago
Why is the v in v0.9 missing in the title
评论 #27085670 未加载
mrlonglongabout 4 years ago
When are they going to do a Rust backend to generate .Net code?
评论 #27088934 未加载
评论 #27088768 未加载
a3wabout 4 years ago
Windows 0.9 was an OS in 1980s... NOT.
pdentonabout 4 years ago
After Windows 10 comes 0.9? Did 11 cause a version integer overflow?
tbrockabout 4 years ago
Why is microsoft posting this &#x2F; working on this rather than the rust project itself?
评论 #27085353 未加载
评论 #27085392 未加载
评论 #27085339 未加载
评论 #27085316 未加载
评论 #27087553 未加载