Hacker ApprovedDepartments

windows-rs

Shares rank 7 of 8 Rust crates by recommenders

Microsoft's Rust crates for calling Windows APIs; people find them pleasant to use, though critics call the API design confusing and worry about the crate's future.

Microsoft's Rust crates for calling Windows APIs; people find them pleasant to use, though critics call the API design confusing and worry about the crate's future.

10 people gave an opinion

recommend it
5
criticize it
5
approval share
50%
Each figure is one person. RecommendsCriticizes

Recommended in 5 of 13 months

  1. November 2025: not recommended
  2. December 2025: not recommended
  3. January 2026: recommended
  4. February 2026: not recommended
  5. March 2026: recommended
  6. April 2026: not recommended
  7. May 2026: recommended
  8. June 2026: recommended
  9. July 2026: not recommended
  10. August 2026: not recommended
  11. September 2026: recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 5 people recommend itNeeds 10 or more, not met.
  • 1 recommender for every criticNeeds 2 to 1 or better, not met.
  • Recommended in 5 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Works fine in practice

    “one can use it from a memory safe language just fine”

    Comment from 22 Mar 2026 in “Windows native app development is a mess”

    “I have used them in the past just fine”

    Comment from 28 Mar 2026 in “Windows native app development is a mess”

What people warn about

Each mark is one comment

  • Future of crate uncertain

    “So who knows what will even happen to windows-rs crate.”

    Comment from 14 Jun 2026 in “The state of building user interfaces in Rust”

    “Better not expect too much from that repo as well.”

    Comment from 22 Mar 2026 in “Windows 11's Start menu was built using React – now switching to native WinUI”
  • Confusing, opaque API and ownership

    “can be annoyingly unintuitive or opaque in how they handle subtler details of memory ownership”

    Comment from 10 Dec 2025 in “COM Like a Bomb: Rust Outlook Add-in”

    “I think windows-rs is at fault here for confusing API design.”

    Comment from 11 Dec 2025 in “COM Like a Bomb: Rust Outlook Add-in”
  • Seen as half-baked

    “leaving it half baked to go play with Rust and windows-rs”

    Comment from 14 Jun 2026 in “The state of building user interfaces in Rust”

    “Rust with windows-rs is hardly any better”

    Comment from 14 May 2026 in “WinUI 3 Performance: A Leap Forward”

Other Rust crates people recommend

The four most recommended other Rust crates, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

windows-rs compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
anyhow (Rust crate)341077%5—Approved
Rayon18290%10—Approved
thiserror16867%5—Approved
rand crate9375%4——
windows-rsThis page5550%5——
See all 8 Rust crates, ranked

What people said

14 of the 16 comments that mention it, newest first. Each links to the original comment.

“Both are provided by Microsoft-developed crate windows-rs”

RecommendsComment from 11 Sep 2026 in “Rust is tier-1 language at Microsoft”

“So who knows what will even happen to windows-rs crate.”

MixedComment from 14 Jun 2026 in “The state of building user interfaces in Rust”

“leaving it half baked to go play with Rust and windows-rs”

CriticizesComment from 14 Jun 2026 in “The state of building user interfaces in Rust”

“The work Microsoft has been doing on windows-rs translates quite good into Rust”

RecommendsComment from 7 Jun 2026 in “Nine Ways to Do Inheritance in Rust, a Language Without Inheritance”

“the experience of consuming windows apis in rust feels good”

MixedComment from 26 May 2026 in “Improving C# Memory Safety”

“Rust with windows-rs is hardly any better”

CriticizesComment from 14 May 2026 in “WinUI 3 Performance: A Leap Forward”

“now also abandoned as they refocused into windows-rs”

CriticizesComment from 3 Apr 2026 in “Decisions that eroded trust in Azure – by a former Azure Core engineer”

“I have used them in the past just fine”

RecommendsComment from 28 Mar 2026 in “Windows native app development is a mess”

“Both seem to do the actual work in unsafe blocks, so I guess you could as well use C++, no?”

CriticizesComment from 23 Mar 2026 in “Windows native app development is a mess”

“one can use it from a memory safe language just fine”

RecommendsComment from 22 Mar 2026 in “Windows native app development is a mess”

“Better not expect too much from that repo as well.”

CriticizesComment from 22 Mar 2026 in “Windows 11's Start menu was built using React – now switching to native WinUI”

“is now having fun with Rust on windows-rs”

MixedComment from 29 Jan 2026 in “Winapp, the Windows App Development CLI – Windows Developer Blog”

“I think windows-rs is at fault here for confusing API design.”

CriticizesComment from 11 Dec 2025 in “COM Like a Bomb: Rust Outlook Add-in”

“can be annoyingly unintuitive or opaque in how they handle subtler details of memory ownership”

CriticizesComment from 10 Dec 2025 in “COM Like a Bomb: Rust Outlook Add-in”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.