Rust Is Tier-1 Language at Microsoft

(rustfoundation.org)

154 points | by mmastrac 1 hour ago

17 comments

  • meerita 47 minutes ago
    Good news they adopted Rust as Tier-1 language. I hope their Weather app stop consuming more than 1GB RAM https://www.notebookcheck.net/Windows-11-s-built-in-Weather-...
    • Verdex 17 minutes ago
      I feel like the weather app makes a lot of sense from a corporate politics point of view.

      A 1mb weather app would have a significantly less impressive pie chart associated with it come "here are our improvements" presentation.

      Also if times get tough and you're told to reduce headcount by 10%, who do you want to get rid of. Sally who knows the USB driver end to end or Todd who wrote the bloated 1gb weather app. (Don't feel bad for Todd, he knew what he was getting himself into.)

      • Escapado 12 minutes ago
        Did Todd just know or did his PO tell him to add telemetry tool number 24 while he was protesting and begged to be allowed to migrate to a newer rendering library but got shot down promptly because "KPI line must go up"? :)
      • miroljub 6 minutes ago
        > Also if times get tough and you're told to reduce headcount by 10%, who do you want to get rid of. Sally who knows the USB driver end to end or Todd who wrote the bloated 1gb weather app. (Don't feel bad for Todd, he knew what he was getting himself into.)

        Looking at the current Microsoft trends, both Sally and Todd would be let go and replaced with H1B Sandeep, Subhrajeet, Ramalingam, and Srinikumar, who would then oversee a remote team split between Bangalore and Mumbai.

        Microsoft stopped caring about quality a long time ago.

    • pjmlp 17 minutes ago
      The problem is the Webview2 prevalence, and note many Rust projects love their webviews as well.
    • geodel 36 minutes ago
      But Tier-1 app consuming Tier-1 RAM seems officially approved.
  • pjmlp 1 hour ago
    This is very big news, all major OS vendors that also have a role in C and C++ language tooling, now have diversified their options in systems programming languages for greenfield development.

    Additionally we finally get some public news about the MSVC integration rumors regarding Rust.

  • petilon 25 minutes ago
    If it is a tier-1 language why isn't it supported in Visual Studio?
    • brunoborges 15 minutes ago
      Because it takes time. Even with coding agents, to add the capability. Then, there is the question on whether Rust developers who like to engage with Microsoft tools, would really consider Visual Studio as their IDE, instead of something like VS Code, VS Code Agent Mode, GitHub Copilot App, or GitHub Copilot CLI with simpler editors.

      I'd be curious to know whether Rust developers believe Visual Studio is the right place for Microsoft to invest Rust specific coding capabilities.

      • not_a9 12 minutes ago
        Visual Studio does have a really nice C++ debugger - one would imagine the C++ debugging capabilities should translate to Rust.
    • cwbrandsma 1 minute ago
      Because it is already supported in VS Code.

      I don't think this is a hot take, but I'm predicting Microsoft will gradually phase out Visual Studio in favor of VS Code.

  • pornel 37 minutes ago
    The big news here is they've replaced LLVM with MSVC's backend.
  • ComputerGuru 1 hour ago
    So when will we get tier 1 debugging support in Visual Studio?
    • flohofwoe 1 hour ago
      Optimistic to assume that modern day programmers even know what a debugger is, or if they do, consider it as anything else than some weird ancient shibboleth only used by the greybeards ;)
      • bluGill 13 minutes ago
        The greybeards rarely used debuggers, and then only to see the stack trace of a core file. They found printf better.

        I can't find my copy of https://en.wikipedia.org/wiki/The_Practice_of_Programming but that is what I recall it says. Those authors are the best known greybeards.

      • Levitating 40 minutes ago
        To be fair, even before LLMs could spot my bugs in an instant I really only regularly used debuggers in C because it can't display arbitrary types in debug print statements.
        • josephg 23 minutes ago
          Debuggers still have their place in algorithm heavy work, or to pull apart heap dumps to try and figure out obscure bugs.

          Even LLMs use debuggers. I asked Claude to reverse engineer a closed source binary the other day. It used gdb to trace its behaviour. Didn’t even use ghidra.

      • rafaelmn 56 minutes ago
        Debugger MCP better
        • josephg 19 minutes ago
          But of a tangent but I think cognitive skills are starting to become like physical skills. If we don’t move our bodies, we waste away physically. If we don’t do hard cognitive work sometimes - like writing and debugging code - I worry our minds will atrophy.

          I don’t have a problem with cars. But walking is still good for us.

        • a012 48 minutes ago
          It’s all /skills now
    • pjmlp 1 hour ago
      You have it already on VSCode, which isn't quite the same, however nowadays it is an open question which one is more relevant for Microsoft's management, especially given that VS isn't cross platform (see Azure), and is stuck with WPF/.NET Framework.
    • mrec 1 hour ago
      I'd also love to see MS sponsoring Windows support for a modern linker like mold or wild.
      • delta_p_delta_x 25 minutes ago
        lld-link is already a big step up from link.exe. Although the latter has incremental linking, which none of the Unix-like linkers have.
  • swiftcoder 50 minutes ago
    I guess the big question is whether they are going to open up rustc_codegen_utc for use outside of Microsoft?
  • js8 45 minutes ago
    Is Microsoft still trying to embrace, extend, extinguish Netscape after all those years? :-)
  • macleginn 17 minutes ago
    The text is mostly about rustc_codegen_utc; maybe this should be reflected in the title?

    Also the use of italics there is rather jarring.

  • the__alchemist 49 minutes ago
    With certain rough edges like complex traits and Async aside, rust is an S-tier lang in several domains. Of interest:

      - Embedded
      - PC desktop applications
      - Computationally-intense scientific programming. (Chem, structural bio etc)
      - OSes, drivers etc
      - High-performance tasks in general. CPU, GPU, etc.
    
    It's not a memory-safety one-trick pony; it's a well-rounded lang which has learned from its predecessors.
    • jdcasale 26 minutes ago
      Yeah I'd written some rust ~ 10 years ago when the language was very different and that led me to believe that it was a 'great within it's niche' sort of thing for a long time, but after spending the last couple of years with it as a daily driver I think it's a pretty great general-purpose language.

      The one really common gotcha with rust is that when trying to write concurrent code, newbies tend to throw Arc<RwLock<T>> goo around everywhere, and they end up with the world's shittiest garbage collector.

      • the__alchemist 13 minutes ago
        It is interesting to see the different patterns used due to different cases and tastes. For example, my concurrency patterns rarely use locks, and are instead usually one of:

          - Dedicated hardware via DMA, multiple cores/MCUs etc
          - Thread pools (e.g rayon)
          - GPU
          - SIMD
          - Atomics
          - Interrupts and their ISRs
          - Event loops
          - std::sync Thread and MPSC (My Std rust default for not blocking the GUI etc)
      • m00dy 24 minutes ago
        yeah, locks are expensive.
    • Verdex 14 minutes ago
      Yeah, I primarily use rust because it's got algebraic data types, pattern matching, and cargo.

      If ocaml had a cargo like experience, then I would migrate there.

    • mgaunard 36 minutes ago
      All those applications area sensitive to asynchronous programming.
      • okanat 28 minutes ago
        Rust's async can be very lightweight depending on the runtime implementation. tokio and embassy are both runtimes but former is a throughput-optimized heavily multi-threaded while latter is a simple cooperative multitasking for embedded. We use both at my day job. Even 64k flash and 16k ram is enough for embassy.
    • bigfishrunning 40 minutes ago
      Honestly, the only domains that I think rust isn't suitable for are:

      * rapid-prototyping, where javascript and python are still top-tier

      * adding scriptability to existing programs, where lua and scheme (and python) are popular

      * Server-side API implementation (rust is usable here, but I think Go fits the slot better)

      • edukite 28 minutes ago
        My employer company go through JavaScript, Java, Golang and at the end landed on Rust for srver side and don't want to change anything. Everything is Rust now, regardless of traffic.

        I don't know why you think it's only usable but this is your right.

    • varjag 40 minutes ago
      Calculate ackermann(4,4), make no mistakes.
  • larodi 9 minutes ago
    ermm... which are the rust-native libs which enable winrt3.0 native apps?
  • _joel 1 hour ago
    Site down, maybe they need port it to use Rust...

    They use wordpress

    • seki285 26 minutes ago
      What is wrong with wordpress exactly?
      • bluGill 11 minutes ago
        there are a lot of really bad plugins that are used. Also there are a lot of really bad admins who have out of date versions that are misconfigured.
      • mcmcmc 15 minutes ago
        Matt Mullenweg
    • echelon 47 minutes ago
      A lot of infrastructure is going to be ported to Rust.

      It's fantastic for websites and servers, and LLMs are very good at generating it.

      The primary downside of Rust is the long compile times, especially with macros (serde, etc.) If that can be fixed, it will be sublime.

      • tonyedgecombe 36 minutes ago
        I like Rust a lot but I'm not sure it would come very high up my list for web applications.
      • edukite 27 minutes ago
        First compile. Every another will be significantly faster since compiler is incremental
  • mtgh2s 40 minutes ago
    You gotta have balls or be receiving tons of money to publicly celebrate the sloppiest software company of the decade making your programming language Tier 1 internally.
  • this_user 6 minutes ago
    Now their broken slop code is at least memory safe.
  • mgaunard 37 minutes ago
    does it mean there is a rust.net?
    • dralley 34 minutes ago
      There is a rustc_codegen_clr which transpiles to .NET

      https://github.com/fractalfir/rustc_codegen_clr

      • mgaunard 24 minutes ago
        > This project is still early in its developement. Bugs, crashes and miscompilations are expected. DO NOT USE IT FOR ANYTHING SERIOUS.

        how can one claim it is tier-1?

        Also random student, nothing official from Microsoft.

    • DidntUseIt 12 minutes ago
      Just had a PTSD flashback...

      The year was 2002, VB6 had just been retired for VB.NET which had 0 backward compatibility.

      And then we all became Flash/AS3 developers.

      The End

  • DidntUseIt 59 minutes ago
    Link doesn’t work.

    What’s a Tier 1 language?

    • gshubert17 51 minutes ago
      (Link worked for me ...)

      This “Tier-1 language” engineering status for Rust means giving internal teams a paved path from local development to production: secure toolchain builds, productive developer tooling, quality workflows, deep platform integration, and compliance with the SDL requirements Microsoft software must meet.

      • swiftcoder 33 minutes ago
        Specifically, it joins a list of existing Tier 1 languages (C++, C#, and TypeScript), as "one of the best-supported languages for internal development at Microsoft"
    • meindnoch 46 minutes ago
      Tier 1 is the summit of summits - the summum bonum of languages, the highest order to which a language can aspire. Very few ever attain it. Non multa, sed multum: not many, but only those of extraordinary quality. Most languages remain forever in Tier 3, never passing beyond its gates. Of these, scarcely 1% ascend to Tier 2. And from that already distinguished company, a mere 0.1% possess the refinement, depth, and excellence required to cross the final threshold into Tier 1.

      Consider what that means: Tier 1 represents roughly the top 0.001% of languages. Pauci sed electi - few, but chosen. The crème de la crème. The aristocracy of languages. Primus inter pares, yet standing at the very edge of what programming language greatness can be.

      Ad astra per aspera. Through hardship, to the stars. Tier 1 is not merely another rank: it is the ultima Thule, the farthest frontier, the crown, the apotheosis.

    • flohofwoe 40 minutes ago
      It means it's about as good as C++ ;)
    • aynyc 7 minutes ago
      It means a language for the very elite special force unit. In MSFT, that means the Ads teams will be able to serve you Ads in excel very quickly. /s
  • LazyIDE 56 minutes ago
    [flagged]
  • calvbak 52 minutes ago
    This is great! Hope this trend will continue in the future; using a memory-safe language should be a top priority imo in context of the coming rogue AI swarms.