• entropicdrift@lemmy.sdf.org
    link
    fedilink
    arrow-up
    0
    ·
    10 months ago

    Originally Windows was written in assembly and ran on top of DOS, but since Windows 2000 and XP, it’s been exclusively running on the NT kernel, which is written primarily in C, with some C++ in there as well.

    The actual userspace is mostly C++ and C#.

    • astrsk@kbin.social
      link
      fedilink
      arrow-up
      0
      ·
      10 months ago

      And basically the entirety of dotnet 6 forward is spans. It’s all spans. All the way down.

    • Skull giver@popplesburger.hilciferous.nl
      link
      fedilink
      arrow-up
      0
      ·
      10 months ago

      Microsoft is quickly writing more and more Rust code these days. They rolled out Rust kernel components even before Linux, and their efforts actually include rewrites rather than making the API available to developers.

      There’s decades of code in Windows, but the successful conversion for DirectWrite font parsing is probably a sign of things to come. MS seems to even be porting some COM modules to Rust, which would be the last thing I would start to port (so many pointer pointers!).