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.
[ Parent
| on HN ]
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-...
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). :)