Live data from Hacker News

Rust is tier-1 language at Microsoft

rustfoundation.org

421–430 of 526 posts

Re: Rust is tier-1 language at Microsoft

#421
post #162

This makes strategic sense in multiple ways: 1. Rust's memory safety design will help Microsoft improve a gigantic portfolios of products that have been known to have lots of CVEs and 70% of them are memory safety issues, according to Azure CTO Mark Russinovich's talk at RustCon last year.[1] 2. Windows 11's forceful push to retire millions of legacy PC hardware by putting Windows 10 EOL last October was absurd for m…

    > This requires the Windows 11 operating system to be more conservative about RAM usage, Rust can be a part of that.
Most of Windows is written in C and C++. How would Rust help to reduce RAM usage?

Re: Rust is tier-1 language at Microsoft

#423
post #162

This makes strategic sense in multiple ways: 1. Rust's memory safety design will help Microsoft improve a gigantic portfolios of products that have been known to have lots of CVEs and 70% of them are memory safety issues, according to Azure CTO Mark Russinovich's talk at RustCon last year.[1] 2. Windows 11's forceful push to retire millions of legacy PC hardware by putting Windows 10 EOL last October was absurd for m…

I'm quite skeptical of rust usage leading to anything that helps consumers. Microsoft managed to add arbitrary code execution to Notepad. And it all points to a total disregard of the end-user, not lack of talent or capacity.

    > Microsoft managed to add arbitrary code execution to Notepad.
You write as though this was an intentional feature. Not, it was a CVE. I had to Google about it. For anyone else who didn't know about this CVE: "Microsoft added Markdown (.md) support and interactive hyperlink parsing to the modern Windows 11 version of Notepad. Improper validation of links meant that clicking a crafted hyperlink inside a Markdown file could cause Notepad to launch unverified protocol handlers without proper warnings." This CVE has already been patched.

    > And it all points to a total disregard of the end-user
I don't understand this part. Are you trying to say that because they had a security flaw in a new feature that this demonstrates "total disregard of the end-user"? It seems like quite a reach.

Re: Rust is tier-1 language at Microsoft

#424
post #27

The big news here is they've replaced LLVM with MSVC's backend.

MSVC always was the default backend for Windows platforms.

Codegen was still done via LLVM. LLVM supports the MSVC _runtime_, here they're talking about using their (arguably worse) backend directly to generate code and do optimisations

Re: Rust is tier-1 language at Microsoft

#425

Earlier quoted context omitted.

Also in aviation, but with caveats; you want to take off and land with a headwind, because the headwind gives a greater airspeed which means greater lift.

This is true for takeoffs but not for landings. You want to land with a headwind because this means that for the same airspeed you have a lower groundspeed, i.e. when you actually touch down you're going slower on the runway than if you touched down at the same airspeed but with a tailwind.

In other words, it's because of the greater lift.

Re: Rust is tier-1 language at Microsoft

#426

I've been writing Rust professionally for the last 5 years (where my first decade of professional experience started in frontend, then moved down the stack TypeScript/Node, Go, C# and so on). From the perspective of high level application development, I can't see a technical use case for a language other than Rust these days. If wasm worked (and MacOS/Windows/Android/iOS native UI support existed), I would write my b…

    > From the perspective of high level application development, I can't see a technical use case for a language other than Rust these days.
What is wrong with C# and WinForms/WPF? It is an excellent platform to write enterprise desktop apps. Also, developer efficiency is way higher in C# compared to Rust. The language is much simpler, and the VM supports garbage collection. Again: For enterprise apps this is a big win.

Re: Rust is tier-1 language at Microsoft

#428

Earlier quoted context omitted.

> (though I'm just starting to try WSL and so far it is looking good) WSL is really nice, as is Windows Terminal. I particularly love its fonts (but that's probably just me).

Did they ever fix terminal performance?

Mostly, yes. They didn't really apologize for the abuse they sent towards Muratori but they did essentially wind up with the architecture he proposed.

Re: Rust is tier-1 language at Microsoft

#429
post #290
post #250

Earlier quoted context omitted.

Do you mean winui3? windows-rs

winui3, yes. but afaik windows-rs is the generic crate, right? not something ms released as rust-first approach to winui3?

It includes Windows Reactor, a fairly new API for WinUI Apps

Re: Rust is tier-1 language at Microsoft

#430

Earlier quoted context omitted.

1GB is space for almost half an hour of 5000kbps ("YouTube Premium") video. Just what kind of eye candy are we talking about here?

It's also only 45 frames uncompressed at 4k. It's remarkably easy to hit that if your base assets are mostly raster rather than vector for a dynamic scene. Obviously, they should try harder, and this is an explanation rather than an excuse, but the graphics assets are mostly why.

Why would you need that kind of resolution for a weather app? What are you even going to depict with all those pixels?
Post reply on HN