16 ms·
Rust for Windows 0.9
- tbrock 5y agoWhy is microsoft posting this / working on this rather than the rust project itself?
- wejick 5y agoBecause it's rust interface to windows API
- fnord123 5y agoDoes it replace or compete with the winapi crate?
- Jare 5y agoIt's their Windows API SDK, same as Amazon posting about their Rust SDK for AWS.
- Erlangen 5y agoAws named it "A New AWS SDK for Rust – Alpha Launch".[1] [1]https://aws.amazon.com/de/blogs/developer/a-new-aws-sdk-for-rust-alpha-launch/ https://aws.amazon.com/de/blogs/developer/a-new-aws-sdk-for-...
- creata 5y agoJudging by the getting started guide[0], they thankfully haven't forked Rust or anything, this is all about windows-rs[1], a Rust library for conveniently accessing the Windows API. [0]: https://docs.microsoft.com/en-us/windows/dev-environment/rust/setup https://docs.microsoft.com/en-us/windows/dev-environment/rus... [1]: https://github.com/microsoft/windows-rs https://github.com/microsoft/windows-rs
- aldanor 5y agoSo it's more like "Windows for Rust" rather than "Rust for Windows"...
- usrusr 5y agoIt's still Rust for Windows, as in "this is what we need to make Rust an option for Windows development". Thankfully, it's not 2003 anymore when the tools involved would only run on the target OS unless written in Java or by RMS. Nobody wants to bother with the specifics of their build server environment.
- hrydgard 5y agoThey're just bad at naming - that's not what they're doing.
- v8dev123 5y agoI hate their all caps names.
- steveklabnik 5y agoMicrosoft does also contribute to the Rust project itself, alongside the other stuff folks are talking about.
- turbinerneiter 5y agoI feel like MS naming convention are flipped on the head. Rust for Windows -> a version of Rust for Windows? Windows Library for Rust -> a library for Rust that allows to interface with Windows APIs Same with Windows Subsystem for Linux. It's a Linux system for Windows. But hey, that's just names. Nice for win-devs to get more languages supported.
- skohan 5y agoMaybe it's cynical, but I wonder if it's a PR/imaging move. When you read these kind of names, it seems like the Linux/Rust community is embracing and supporting Windows, while really it's the reverse.
- loa_in_ 5y agoI don't think it's cynical at all, and is probably both. I guess in all big companies PR/marketing teams chime in to all public facing projects
- mcny 5y agoI think you are right. If I remember correctly, someone on the typescript team said they have no control over version numbers. PR/marketing decides what is version 4.0 vs 3.11.
- Vinnl 5y agoI don't think that's strictly true: https://twitter.com/drosenwasser/status/1098748330765619200 https://twitter.com/drosenwasser/status/1098748330765619200 As far as major versions go, AFAIK they just bump the mayor version every ten minor versions, of which they release a new one every 3 (?) months.
- pjc50 5y agoMicrosoft naming is incomprehensible sometimes. Doing a .net framework -> dotnet core transition at the moment has really exposed me to a lot of this.
- dataflow 5y agoA bit off-topic but is the C++ API library for Windows coming along too? I've been looking out for that, but I'm not sure what state it's in.
- pjmlp 5y agoIn what concerns C++/WinRT, doing great, assuming that you enjoy editing IDL files without any kind of Visual Studio support, manually copying and merging files, and that the team had waves any complaint how the tool is lacking versus C++/CX to the miraculous day when ISO C++ gets reflection support. Really, ageing MFC feels more productive. I don't know, maybe at BUILD 2021 they will announce something, there is always hope.
- gtirloni 5y agoI'm completely confused by Microsoft's use of "for Windows" naming. Rust for Windows already exists. This is a Windows SDK for Rust. Windows Subsystem for Linux is Linux subsystem for Windows. Is this some usage of the "for" word that I'm not getting? I'm a non-native English speaker so I could be at fault here.
- bobnamob 5y agoIt's not just non-native speakers that are getting confused by their inconsistent English. Don't worry, not just you
- themulticaster 5y agoThis was mentioned somewhere else already, but the way to parse [Windows Subsystem for Linux] is [Windows] [Subsystem for Linux] (not [Windows Subsystem] [for Linux]). In case of [Rust for Windows], it should actually be called something like [Rust] [API for Windows]. But I agree, the naming is very confusing.
- MereInterest 5y agoEven with that, I'd expect a "subsystem for Linux" to be a subsystem that runs on Linux, not a subsystem that runs Linux. I think it's the word "for" that is causing confusion, rather than the parsing order itself.
- elcomet 5y agoThat's incorrect. The name is Windows Subsystem (as in a Subsystem that runs on the windows kernel) for linux, that is, designed to run Linux.
- IshKebab 5y agoI think it's more like (Windows Subsystem) for [running] Linux.
- eterm 5y agoThe most generous interpretation I can think of is to parse this as "Rust for Windows <Development>"
- softblush 5y agoWhy is the v in v0.9 missing in the title
- spicybright 5y agoI sure can't wait when they release Rust for Windows 3.1
- mrlonglong 5y agoWhen are they going to do a Rust backend to generate .Net code?
- lostmsu 5y agoSomebody is doing it as a side project: https://ericsink.com/entries/llama_rust_013.html https://ericsink.com/entries/llama_rust_013.html
- mrlonglong 5y agoBookmarked with thanks, it's on my list of projects to check out.
- kungito 5y agoIs this closed source closed license? I'm asking just out of curiosity; I cannot find repo info
- lostmsu 5y agoIt is closed source unfortunately. I'd gladly contribute if it were open. Having first party Rust on .NET platform, especially classlib compatible, would be rejuvenating. The platform certainly has all the necessary whistles.
- wvenable 5y agoWhy would they? Rust is for native development -- that's its reason to exist.
- BoardsOfCanada 5y agoI wish apple would do the same.
- diego_moita 5y agoCheck Core Foundation [0]. It implements a lot of OS-X's API in Rust. It is not Apple, is made by Mozilla as part of their Servo browser project. But is probably the best we'll have. Apple stopped playing the "open" game long ago, even before MS started it. https://github.com/servo/core-foundation-rs https://github.com/servo/core-foundation-rs
- vlovich123 5y agoI wonder if there’s some way to leverage the Swift annotations in the SDK to help generate the Rust code automatically.
- tristan957 5y agoServo is now managed by the Linux Foundation. Mozilla quit managing it after their round of layoffs early last year.
- pdenton 5y agoAfter Windows 10 comes 0.9? Did 11 cause a version integer overflow?
- saurabh20n 5y agoI 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. 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.)
- mattdeboard 5y agoThis is awesome.
- k4ch0w 5y agoI recently tried to use this library and had to go back to winapi-rs for the mean time. 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't want to manage another build machine and I know I'm probably like the one guy. Working with strings was a bit rough too, it'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't feel natural coming from Linux Kernel Dev. Regardless of my criticisms, I am excited to see the future of this crate. I think it's an awesome effort and a great addition to Rust and Windows.
- a3w 5y agoWindows 0.9 was an OS in 1980s... NOT.