Live data from Hacker News

Rust is tier-1 language at Microsoft

rustfoundation.org

431–440 of 521 posts

Re: Rust is tier-1 language at Microsoft

#431
post #357

Earlier quoted context omitted.

> C++ is still indicated for systems that are optimizing for performance The only evidence I've seen for this is that people with a vested interest in my believing this keep saying it is true. That's the exact same evidence I have for Trump having triumphed in Iran. Do better if you want me to believe you. > since it intrinsically requires a lot of "unsafe" constructs. This is an excellent reason to choose Rust. The…

Tangent: your comment would have been stronger without the politics. Btw, Rust ain't the only vector here. With an LLM at your side, you can also write your performance and safety critical parts in Lean and prove them correct. Lean can compile to some pretty fast code. (Though it needs a bit more engineering work around eg SIMD to get really fast.)

[deleted]

Re: Rust is tier-1 language at Microsoft

#432

This is from rustconf. A lot of the focus at Rustconf this year has been C++ interop, Python Interop, Javascript interop -- it's no longer about "rewrite it in rust", it's about being part of the ecosystem.

Rewrite it in Rust has always been more a fantasy of the C++ community than a goal of the Rust ecosystem.

Re: Rust is tier-1 language at Microsoft

#433

Earlier quoted context omitted.

The recommendation is qualified for typical apps that do not have extreme performance or scale requirements. They use Java for many, many things. C++ is still indicated for systems that are optimizing for performance and scalability characteristics, since it intrinsically requires a lot of "unsafe" constructs.

> C++ is still indicated for systems that are optimizing for performance The only evidence I've seen for this is that people with a vested interest in my believing this keep saying it is true. That's the exact same evidence I have for Trump having triumphed in Iran. Do better if you want me to believe you. > since it intrinsically requires a lot of "unsafe" constructs. This is an excellent reason to choose Rust. The…

I do think though, it is in the best interests for all compiled languages to eventually bootstrap themselves, instead of depending on either C or C++ for their implementation.

Either that, or we really need to keep improving C and C++ safety story, if they are to stay around on those language runtimes, or compiler backends.

Re: Rust is tier-1 language at Microsoft

#435

Earlier quoted context omitted.

Zig too. But this is far from being mainstream. Rust took around 5 years I think to become accepted in major companies, and those languages are harder to justify.

I've started distrusting anything good people have to say about Zig because of the wide variety of untrue claims made about it - unless those claims come from Andrew himself. Last time I was assured that compile-time memory guarantees were possible and were going to happen (they didn't: the recent announcement is runtime/debug assertions). Zig is still making massive breaking changes, and while that is not a bad thin…

Also note that isn't much different from debug heap that MSCV was already having in 2000[0], assuming you didn't want to shell out some money to Insure++{1], BoundsChecker[2] and similar products.

Or something like SoftBound, from 2009,

https://llvm.org/pubs/2009-06-PLDI-SoftBound.pdf

It hasn't been for lack of choice.

[0] - https://learn.microsoft.com/en-us/cpp/c-runtime-library/debu...

[1] - https://www.parasoft.com/products/parasoft-insure/

[2] - https://en.wikipedia.org/wiki/BoundsChecker

Re: Rust is tier-1 language at Microsoft

#436

Earlier quoted context omitted.

Indeed, unless you're using Safari, you're almost certainly using Rust code to read this webpage.

Allegedly, there is Rust in macOS (but maybe not in iOS), so maybe it's true even if you're using Safari.

Why, when they have Swift for that role?

Re: Rust is tier-1 language at Microsoft

#437

Earlier quoted context omitted.

Outlook and Teams are both web apps, or at least they were when I last used them. Even if you download the "native" app it's just Electron. I haven't had trouble using either of them on Linux.

Outlook is native. There is the new web version that it says don't use (yet)

Which sends your login data straight to microsoft

Re: Rust is tier-1 language at Microsoft

#438
post #27

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

... but why? The MSVC backend has been falling far behind LLVM with every release. I understand they want uniformity but IMHO either they catch up or they switch fully to LLVM, if they can

Windows ecosystem, and all those things MSVC backend can do and LLVM does not.

For the same reason a Rust frontend is being developed for GCC.

Re: Rust is tier-1 language at Microsoft

#439
post #88
post #75

Earlier quoted context omitted.

There's two ways to approach this — build tooling for existing Rust developers to get them to adopt the Microsoft stack, or build tooling for existing Microsoft stack developers to get them to adopt Rust. I'd argue that the former is less important than the latter, and my understanding is that Visual Studio is still the IDE for Windows-centric development, so for those MS-first developers, Rust missing from VS means…

It would have to be the 2nd option. Who in their right mind would voluntarily choose Windows as their dev env? It will have to be those who are already there.

Plenty of us do, so far Valve has failed to make native builds for Linux appealing for game studios, even though they already have to deal with similar APIs on Android, iDevices and PS/Switch.

Re: Rust is tier-1 language at Microsoft

#440

Earlier quoted context omitted.

This kind of stuff is why its hard to have good conversations about tooling. Windows is the best place for many kinds of software dev, but perhaps not the kind you are doing.

When it is not the mandated option, under what circumstances is Windows the best choice for software dev? The only domain I can think of is gaming, and Valve is seemingly coming up fast to eat Microsoft's lunch in the next few years.

Game development, graphics programming and GUI tooling.

The alternative being macOS, if Apple actually had competitive prices for all kinds of world economies.

Post reply on HN