News for hackers. Stuff that matters.
Re:First steps with Rust by vander_elst on Sunday April 18, 2021 @07:54AM (#26851697)
What's the strategy behind this move? Is MS adding some Rust APIs to some of their products?
Re:First steps with Rust by the_duke on Sunday April 18, 2021 @10:31AM (#26852790)
They are starting to rewrite Windows components in Rust [1] and are also founding members of the foundation.

[1] https://msrc-blog.microsoft.com/2019/11/07/using-rust-in-win...

Re:First steps with Rust by toyg on Sunday April 18, 2021 @08:21AM (#26851808)
I wouldn’t be surprised to learn that MS see Rust as a strategic “safer C” going forward. They have tons of legacy, dangerous C/C++ code across their traditional products (and Windows in particular), which could be slowly replaced with more robust Rust implementations.
Re:First steps with Rust by iudqnolq on Sunday April 18, 2021 @01:10PM (#26854266)
Microsoft's c codebase is heavily annotated with custom annotations they check at compile time. It's not as powerful as Rust, but very cool.

https://docs.microsoft.com/en-us/cpp/code-quality/using-sal-...

Re:First steps with Rust by wongarsu on Sunday April 18, 2021 @11:05AM (#26853084)
Rust also fits perfectly into their general desire for robust drivers, for example with the Static Driver Verifier [1]. If a device driver misbehaves people usually blame Windows, so they spend energy on reducing the classes of bugs that can happen.

1: https://docs.microsoft.com/en-us/windows-hardware/drivers/de...

Re:First steps with Rust by dsfbjornjaja on Sunday April 18, 2021 @10:27AM (#26852752)
Until Rust is replaced with something else (perhaps steel-lang or carbon-nanotube-lang). :)
Re:First steps with Rust by yannikyeo on Sunday April 18, 2021 @08:11AM (#26851776)
They released a while back Rust crate for Windows API: https://github.com/microsoft/windows-rs
Re:First steps with Rust by pca006132 on Sunday April 18, 2021 @08:11AM (#26851775)
https://cloudblogs.microsoft.com/opensource/2021/02/08/micro...

They are one of the founding member of Rust Foundation, and from the article it seems that they do use Rust in some of their products.

Re:First steps with Rust by INTPenis on Sunday April 18, 2021 @02:31PM (#26855000)
Partly they probably just want people to be able to use different languages on their OS. They have similar guides for Go and Java for example.
Re:First steps with Rust by korginator on Sunday April 18, 2021 @08:26AM (#26851838)
Amazon, Google, MS and Huawei are Rust foundation members.