Microsoft is busy rewriting core Windows code in memory-safe Rust


Recommended Posts

Microsoft is rewriting core Windows libraries in the Rust programming language, and the more memory-safe code is already reaching developers.

David "dwizzle" Weston, director of OS security for Windows, announced the arrival of Rust in the operating system's kernel at BlueHat IL 2023 in Tel Aviv, Israel, last month.

"You will actually have Windows booting with Rust in the kernel in probably the next several weeks or months, which is really cool," he said. "The basic goal here was to convert some of these internal C++ data types into their Rust equivalents."

Microsoft showed interest in Rust several years ago as a way to catch and squash memory safety bugs before the code lands in the hands of users; these kinds of bugs were at the heart of about 70 percent of the CVE-listed security vulnerabilities patched by the Windows maker in its own products since 2006.

The Rust toolchain strives to prevent code from being built and shipped that is exploitable, which in an ideal world reduces opportunities for miscreants to attack weaknesses in software. Simply put, Rust is focused on memory safety and similar protections, which cuts down on the number of bad bugs in the resulting code.

 

 

https://www.theregister.com/2023/04/27/microsoft_windows_rust/

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Hello, In the past, I have purchased directly from Amazon, BestBuy, MicroCenter, Microsoft, and Newegg.  When purchasing, I have made sure the seller was either the store in question (not a third-party in their marketplace) or Microsoft. Regards, Aryeh Goretsky  
    • Right. And permission denied means it's still there, now just need to bypass authentication !!
    • Hello, One thing that I noticed is that this TV says it just has "Ethernet" for its LAN. I have a 2019-2020 era Samsung TV, and while I like it, it only shipped with Fast Ethernet (100Mbps), and have to use a USB to Ethernet adapter to get 1GbE speeds. The lack of any mention of what speed Ethernet connection the TV has in its specs on Samsung's website makes me wonder if they are still shipping TVs with only Fast Ethernet support. Regards, Aryeh Goretsky
    • "We also highlighted that the Long-Term Servicing Channel (LTSC) version Windows 10 22H2 is also reaching end of support on that date." what? there is no LTSC version of Windows 10 22H2.
    • CrystalDiskInfo 9.7.1 by Razvan Serea CrystalDiskInfo is a HDD/SSD health monitoring utility. It displays basic HDD (also SSD and USB-HDD) information, monitors S.M.A.R.T. values and disk temperature. It will also display the S.M.A.R.T data as a list so you can see the specific issue that a hard drive may have. It provides a health rating based on your drive’s SMART status, plus will list its temperature, enabling you to see just how hot your drives are running. As various factors approach thresholds of danger, CrystalDiskInfo will alert you, letting you know it's time to make backups while you still can. CrystalDiskInfo 9.7.1 changelog: Fixed the problem that some SATA SSDs misjudged the remaining life as 0%. Improved support for aigo PSSD P6 Improved support for Lexar SSD Improved support for SanDisk SSDs Updated language file (Traditional Chinese, Korean, Dutch) Download: CrystalDiskInfo 9.7.1 | 5.8 MB (Open Source) Download: Portable CrystalDiskInfo 9.7.1 | 7.8 MB View: CrystalDiskInfo Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • First Post
      smileyhead earned a badge
      First Post
    • One Month Later
      K V earned a badge
      One Month Later
    • Week One Done
      K V earned a badge
      Week One Done
    • Dedicated
      CarlosABC earned a badge
      Dedicated
    • One Month Later
      solidox earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      639
    2. 2
      ATLien_0
      241
    3. 3
      Xenon
      175
    4. 4
      neufuse
      155
    5. 5
      +FloatingFatMan
      123
  • Tell a friend

    Love Neowin? Tell a friend!