Windows 10: Microsoft is rewriting core Windows code in Rust

Discus and support Microsoft is rewriting core Windows code in Rust in Windows 10 News to solve the problem; Core Windows components are rewritten in the memory-safe programming language Rust by Microsoft engineers, according to David Weston, Enterprise and OS... Discussion in 'Windows 10 News' started by GHacks, Apr 30, 2023.

  1. GHacks
    GHacks New Member

    Microsoft is rewriting core Windows code in Rust


    Core Windows components are rewritten in the memory-safe programming language Rust by Microsoft engineers, according to David Weston, Enterprise and OS Security Vice President at Microsoft.

    Weston revealed the change during the BlueHat IL 2023 conference. Microsoft engineers replace C++ code with Rust. Windows could soon boot "with Rust in the kernel" stated Weston, who suggested that this could happen in the next couple of weeks or months already.

    Microsoft has shown interest in the Rust programming language, especially because of the languages security features that are designed to prevent code that could potentially be exploited.

    Microsoft is rewriting core Windows code in Rust microsoft-1.jpg
    Microsoft

    Broken down to its core, Rust is an easier to learn language that benefits from strong features that prevent common forms of attacks against the programs and services that have been created in the programming language.

    Microsoft's main goal at this point was to "convert some [..] internal C++ data types into their Rust equivalents" according to Weston. About 36,000 lines of Rust code are now part of the Microsoft Windows graphics device interface, Win32 GDI. A recent Windows 11 version with the Rust components included booted without major issues and passed all GDI tests.


    Microsoft ran benchmarks and performance tests to test the code against the non-Rust version, and no major performance regressions were detected during these tests.

    The Rust part is not enabled by default for customers who use the operating system. Microsoft may use a controlled roll out in the coming weeks or months to test the functionality on a wider set of devices. Eventually, the company will enable the Rust parts for all customers who run Windows 11.

    It is too early to tell how beneficial the integration will be in the short run. The converted parts will likely be more secure against potential exploits and if this initial launch is promising , will likely result in more code being converted from C++ to Rust.

    For Rust, it is a major push in the right direction. Microsoft's commitment to Rust could improve general and developer tooling support.

    Thank you for being a Ghacks reader. The post Microsoft is rewriting core Windows code in Rust appeared first on gHacks Technology News.

    read more...
     
    GHacks, Apr 30, 2023
    #1
  2. Brink Win User

    Microsoft creating Rust-based programming language for secure coding

    Read more: Using Rust in Windows
     
    Brink, Apr 30, 2023
    #2
  3. Brink Win User
    Microsoft creating Rust-based programming language for secure coding

    Read more: Microsoft: We're creating a new Rust-based programming language for secure coding | ZDNet
     
    Brink, Apr 30, 2023
    #3
  4. Microsoft is rewriting core Windows code in Rust

    windows xp installation and dual core am

    could someone please list the steps they follow to install windows with a dual core processor and windows xp service pack to. I'm reletively new to amd dual core and i feel i'm missing a step. All help will be appreciated. thanx
     
    exodusprime1337, Apr 30, 2023
    #4
Thema:

Microsoft is rewriting core Windows code in Rust

Loading...
  1. Microsoft is rewriting core Windows code in Rust - Similar Threads - Microsoft rewriting core

  2. Microsoft Windows - The application is not responding. [WHILE PLAYING RUST]

    in Windows 10 Gaming
    Microsoft Windows - The application is not responding. [WHILE PLAYING RUST]: This is happening randomly while playing rust, it doesnt matter the time it can happen in like 7 hours or 15 min...The game still working but the windows it self stop working and cant even make the taskbar dissapear!...
  3. Microsoft Windows - The application is not responding. [WHILE PLAYING RUST]

    in Windows 10 Software and Apps
    Microsoft Windows - The application is not responding. [WHILE PLAYING RUST]: This is happening randomly while playing rust, it doesnt matter the time it can happen in like 7 hours or 15 min...The game still working but the windows it self stop working and cant even make the taskbar dissapear!...
  4. Windows Notepad Rewriter Microsoft 365 error

    in Windows 10 Gaming
    Windows Notepad Rewriter Microsoft 365 error: Hi, When I opened Windows Notepad today, I noticed a new icon at the top which was the rewriter feature. I tried to use it, but when I did, it said Subscription required for Microsoft 365. I am in Australia, by the way. From what I have noticed, people with 365 for personal...
  5. Windows Notepad Rewriter Microsoft 365 error

    in Windows 10 Software and Apps
    Windows Notepad Rewriter Microsoft 365 error: Hi, When I opened Windows Notepad today, I noticed a new icon at the top which was the rewriter feature. I tried to use it, but when I did, it said Subscription required for Microsoft 365. I am in Australia, by the way. From what I have noticed, people with 365 for personal...
  6. How to disable Rewrite with Copilot popup in Microsoft Edge

    in Windows 10 News
    How to disable Rewrite with Copilot popup in Microsoft Edge: [IMG]If you are a Microsoft Edge user, you might have noticed the Rewrite with Copilot feature. Microsoft Edge displays this popup whenever you select a sentence in a text editor opened in Microsoft Edge. However, when I tried it in Google Docs, it did not work there. With...
  7. Announcing Rust for Windows v0.9

    in Windows 10 News
    Announcing Rust for Windows v0.9: Rust for Windows v0.9 has recently been released and includes full consumption support, along with several other updates! With completed consumption support, you can now call any Windows APIs (past, present, and future) using the Rust language projection. Rust developers have...
  8. Microsoft creating Rust-based programming language for secure coding

    in Windows 10 News
    Microsoft creating Rust-based programming language for secure coding: Microsoft can't throw away old Windows code, but the company's research under Project Verona is aiming to make Windows 10 more secure with its recent work on integrating Mozilla-developed Rust for low-level Windows components. The company recently revealed that its trials...
  9. Skype can't fix security bug without massive code rewrite

    in Windows 10 News
    Skype can't fix security bug without massive code rewrite: A security flaw in Skype's updater process can allow an attacker to gain system-level privileges to a vulnerable computer. The bug, if exploited, can escalate a local unprivileged user to the full "system" level rights -- granting them access to every corner of the...
  10. Microsoft quietly rewrites its activation rules for Windows 10

    in Windows 10 News
    Microsoft quietly rewrites its activation rules for Windows 10: Windows product keys are almost (but not quite) a thing of the past. With Windows 10, Microsoft has rewritten the rules for how it performs product activation on retail upgrades of Windows. The net result is that clean installs will be much easier--but only after you get...