By using this site, you agree to the Privacy Policy and Terms of Use.
Accept

GadgetBond

  • Latest
  • How-to
  • Tech
    • AI
    • Amazon
    • Apple
    • CES
    • Computing
    • Creators
    • Google
    • Meta
    • Microsoft
    • Mobile
    • Samsung
    • Security
    • Xbox
  • Transportation
    • Audi
    • BMW
    • Cadillac
    • E-Bike
    • Ferrari
    • Ford
    • Honda Prelude
    • Lamborghini
    • McLaren W1
    • Mercedes
    • Porsche
    • Rivian
    • Tesla
  • Culture
    • Apple TV
    • Disney
    • Gaming
    • Hulu
    • Marvel
    • HBO Max
    • Netflix
    • Paramount
    • SHOWTIME
    • Star Wars
    • Streaming
Add GadgetBond as a preferred source to see more of our stories on Google.
Font ResizerAa
GadgetBondGadgetBond
  • Latest
  • Tech
  • AI
  • Deals
  • How-to
  • Apps
  • Mobile
  • Gaming
  • Streaming
  • Transportation
Search
  • Latest
  • Deals
  • How-to
  • Tech
    • Amazon
    • Apple
    • CES
    • Computing
    • Creators
    • Google
    • Meta
    • Microsoft
    • Mobile
    • Samsung
    • Security
    • Xbox
  • AI
    • Anthropic
    • ChatGPT
    • ChatGPT Atlas
    • Gemini AI (formerly Bard)
    • Google DeepMind
    • Grok AI
    • Meta AI
    • Microsoft Copilot
    • OpenAI
    • Perplexity
    • xAI
  • Transportation
    • Audi
    • BMW
    • Cadillac
    • E-Bike
    • Ferrari
    • Ford
    • Honda Prelude
    • Lamborghini
    • McLaren W1
    • Mercedes
    • Porsche
    • Rivian
    • Tesla
  • Culture
    • Apple TV
    • Disney
    • Gaming
    • Hulu
    • Marvel
    • HBO Max
    • Netflix
    • Paramount
    • SHOWTIME
    • Star Wars
    • Streaming
Follow US
ComputingMicrosoftSurfaceTechWindows

Microsoft wants you to write your next Windows driver in Rust

Microsoft’s open-source windows-drivers-rs project is helping developers write safer Windows drivers using the Rust language.

By
Shubham Sawarkar
Shubham Sawarkar's avatar
ByShubham Sawarkar
Editor-in-Chief
I’m a tech enthusiast who loves exploring gadgets, trends, and innovations. With certifications in CISCO Routing & Switching and Windows Server Administration, I bring a sharp...
Follow:
- Editor-in-Chief
Jul 28, 2025, 2:01 AM EDT
Share
Microsoft Surface Laptop with a GitHub page on screen.
Image: Microsoft
SHARE

Microsoft’s latest push for Rust in driver development isn’t just a nod to cooler syntax or hipster cred—it’s a concerted effort to tackle one of the oldest, nastiest villains in software security: memory safety bugs. Over the decades, developers have wrestled with buffer overflows, use‑after‑free errors, and race conditions that all stem from the same root cause: manual memory management in C and C++. These flaws have led to devastating breaches, from remote code execution worms to privilege‑escalation exploits that persist in the wild for years. Now, the NSA and CISA have even weighed in, releasing a joint Cybersecurity Information Sheet urging organizations—especially those running national-security systems—to adopt memory‑safe languages as a cornerstone of their security strategy.

But why drivers? Unlike typical applications, drivers run at the lowest rings of privilege, communicating directly with hardware. A single misstep can compromise an entire operating system. Microsoft first dipped its toes into Rust back in May 2023, promising to integrate Rust code into Windows 11’s kernel. It delivered just two months later with Dev Channel build 25905, giving insiders a taste of Rust’s memory‑safe abstractions inside Windows core components. Now, the company is rallying the broader driver‑development community around an open‑source platform: windows‑drivers‑rs.

At the heart of this initiative is windows‑drivers‑rs, an open‑source GitHub repo maintained by Microsoft’s Surface software team. It bundles a suite of Rust crates—libraries and executables packed neatly for cargo-based builds—along with in‑depth documentation, sample drivers, and step‑by‑step guides. Developers can clone the repo, explore how Rust maps onto the Windows Driver Model (WDM) or Windows Driver Framework (WDF), and even submit pull requests to improve abstractions or add new driver templates. By making it collaborative, Microsoft hopes to lower the barrier for driver authors who want to experiment with Rust without abandoning their existing C/C++ codebases entirely.

So what’s the allure? For starters, Rust’s ownership model and borrow checker virtually eliminate use‑after‑free and double‑free bugs—vulnerabilities that have been exploited in the wild to gain kernel‑level execution. Strict type enforcement and data‑race detection at compile time mean that many concurrency pitfalls vanish before the binary ever runs. Rust’s zero‑cost abstractions let you write high‑level code without runtime overhead, and the Foreign Function Interface (FFI) lets you interoperate seamlessly with existing C/C++ driver code, so teams can migrate incrementally instead of rewriting entire drivers at once.

Microsoft isn’t just talking the talk. The Surface team has already shipped drivers written in Rust on several of its flagship devices, including the Surface Laptop for Business (both Intel Core Ultra Series 2 models), Surface Laptop 5G for Business, and multiple Surface Pro SKUs with Snapdragon X Plus chips. Each shipping of a Rust‑powered driver cuts down the attack surface by enforcing memory safety, translating to fewer unexpected system crashes and a sturdier security posture for end users.

Looking ahead, Microsoft plans to broaden windows‑drivers‑rs to support additional types of drivers—think network, storage, and potentially even file‑system filters—while closing the feature gap with the traditional Windows Driver Kit (WDK). The company is also working on generalizing its in‑house “safe abstractions” (built on top of the core wdk‑sys crate) so they can be consumed by any developer in the public repo. Internally, teams across Microsoft are forming partnerships to bake Rust support into more tooling, enrich documentation, and ensure long‑term maintainability of Rust drivers in large-scale projects.

This push arrives at a moment when memory safety has become a matter of national cybersecurity. The NSA/CISA guidance stresses that adopting memory‑safe languages isn’t a silver bullet, but it shifts the burden of preventing memory errors from individual developers to the language and its tooling—dramatically improving resilience across critical software supply chains. For Windows hardware partners, this means safer drivers out of the box and fewer emergency security patches chasing the next zero‑day.

Microsoft is taking this message on the road, too: the Surface team will be at RustConf 2025 in Seattle this September, hosting workshops, demos, and “hallway hangouts” to help developers get their hands dirty with Rust-based driver code. Whether you’re a seasoned kernel‑mode veteran or a curious Rustacean looking to level up, now is the time to explore windows‑drivers‑rs and join the movement to make memory safety the new normal in driver development.

In the grand scheme, Microsoft’s gambit extends beyond Surface devices; it’s a strategic bid to elevate the entire Windows ecosystem. By enabling community contributions, offering robust tooling, and aligning with national security directives, Microsoft is betting that Rust will not just coexist with C/C++ in driver land—it will become the gold standard for safe, reliable, next‑gen Windows drivers. The gauntlet is thrown; the community will decide whether Rust will power the next generation of Windows hardware.


Discover more from GadgetBond

Subscribe to get the latest posts sent to your email.

Topic:LaptopWindows 11
Most Popular

Gemini 3.1 Flash TTS is Google’s new powerhouse text-to-speech model

Google app for desktop rolls out globally on Windows

Google debuts Gemini app for Mac with instant shortcut access

Google Chrome’s new Skills feature makes AI workflows one tap away

Anthropic’s revamped Claude Code desktop app is all about parallel coding workflows

Also Read
OpenAI Codex app logo featuring a stylized terminal symbol inside a cloud icon on a blue and purple gradient background, with the word “Codex” displayed below.

Codex desktop app now handles nearly your whole stack

A graphic design featuring the text “GPT Rosalind” in bold black letters on a light green background. Behind the text are overlapping translucent green rectangles. In the bottom left corner, part of a chemical structure diagram is visible with labels such as “CH₃,” “CH₂,” “H,” “N,” and the Roman numeral “II.” The right side of the background shows a blurred turquoise and green abstract pattern, evoking a scientific or natural theme.

OpenAI launches GPT-Rosalind to accelerate biopharma research

Perplexity interface showing a model selection menu with options for advanced AI models. The default choice, “Claude Opus 4.7 Thinking,” is highlighted as a powerful model for complex tasks. Other options include “GPT-5.4 New” for complex tasks and “Claude Sonnet 4.6” for everyday tasks using fewer credits. A toggle for “Thinking” is switched on, and a tooltip on the right reads “Computer powered by Claude 4.7 Opus.”

Perplexity Max users now get Claude Opus 4.7 in Computer by default

Anthropic brand illustration divided into two halves: On the left, an orange-coral background displays a stylized network or molecule diagram with white circular nodes connected by white lines, enclosed within a black wavy border outline representing a head or mind. On the right, a light teal background features an abstract line drawing of a figure or person with curved black lines and black dots, sketched over a white grid on transparent checkered background, suggesting data points and analytical thinking. The composition symbolizes the intersection of artificial intelligence and human cognition.

Claude Opus 4.7 is Anthropic’s new powerhouse for serious software work

Illustration of Claude Code routines concept: An orange-coral background with a stylized design featuring two black curly braces (code brackets) flanking a white speech bubble containing a handwritten lowercase 'u' symbol. The image represents code execution and automated routines within Claude Code.

Anthropic gives Claude Code cloud routines that work while you sleep

Gemini interface showing a NEET Mock Exam Practice Session. On the left side, a chat message from the user says 'I want to take a NEET mock exam.' Below it is Gemini's response explaining a complete NEET mock exam designed to test concepts in Physics, Chemistry, and Biology, with a 'Show thinking' option expanded. The response includes an embedded card for 'NEET UG Practice Test' dated Apr 11, 7:10 PM, with options to 'Try again without interactive quiz' and encouragement message. On the right side is a panel titled 'NEET UG Practice Test' displaying three subject sections: Physics (45 Questions with a yellow icon and blue Start button), Chemistry (45 Questions with a purple icon and blue Start button), and Biology (90 Questions with a green icon). Each section includes a brief description of question topics covered.

Google Gemini now lets you take full NEET mock exams for free

AI Mode in Chrome showing AI-powered shopping assistant panel alongside a Ninja coffee machine product page with pricing and details

Chrome’s AI Mode puts search and pages side by side

Google Gemini AI

Google Gemini can now craft images from your personal photos

Company Info
  • Homepage
  • Support my work
  • Latest stories
  • Company updates
  • GDB Recommends
  • Daily newsletters
  • About us
  • Contact us
  • Write for us
  • Editorial guidelines
Legal
  • Privacy Policy
  • Cookies Policy
  • Terms & Conditions
  • DMCA
  • Disclaimer
  • Accessibility Policy
  • Security Policy
  • Do Not Sell or Share My Personal Information
Socials
Follow US

Disclosure: We love the products we feature and hope you’ll love them too. If you purchase through a link on our site, we may receive compensation at no additional cost to you. Read our ethics statement. Please note that pricing and availability are subject to change.

Copyright © 2026 GadgetBond. All Rights Reserved. Use of this site constitutes acceptance of our Terms of Use and Privacy Policy | Do Not Sell/Share My Personal Information.