Hacker GitHub

← All repos

microsoft/win32metadata

View on GitHub ↗ ★ 1,508 C++

Tooling to generate metadata for Win32 APIs in the Windows SDK.

12 mentions on Hacker News by 12 people: 0 stories, 12 comments · first 2021-01-21 · latest 2026-02-15

Mentions per year 12 mentions · busiest year 2021 (6)
20082026
  1. …you can see it's the same person in the commits). [0] https://github.com/marlersoft/zigwin32 [1] https://github.com/microsoft/win32metadata
    comment by hiccuphippo · 2026-02-15 · in I fixed Windows native development
  2. …I first learned about the how types of the same size/alignment can still have different ABIs :) https://github.com/microsoft/win32metadata/issues/623#issuec...
    comment by marler8997 · 2025-11-11 · in Zig / C++ Interop
  3. …[1] https://github.com/microsoft/vscode-cpptools/issues/5784 [2] https://github.com/microsoft/win32metadata/issues/766 [3] https://devlog.hexops.com/2024/building-the-directx-shader-c... [4] https://github.com/microsoft/Azu
  4. …easy for library authors to generate the externs with their relatively new Win32metadata package: https://github.com/microsoft/win32metadata
  5. …using it to generate C# and Rust bindings, and other people have targeted other languages. [0] https://github.com/microsoft/win32metadata
    comment by ptx · 2024-03-19 · in Java 22 Released
  6. There is still the occasional incredibly subtle link time fuckery in Rust. https://github.com/microsoft/win32metadata/issues/1274 "Minor" semver updates to crates breaking things via e.g. unexpected MSRV bumps is pretty common too, with…
  7. …about all use cases. If any drive-by HN readers work at Microsoft, please help us with this issue: https://github.com/microsoft/win32metadata/issues/766
    comment by AndyKelley · 2021-12-19 · in Zig: Drop MinGW-w64
  8. …defined in metadata, and now Win32 (lower-level, C-style) APIs are being defined that way as well: https://github.com/microsoft/win32metadata/blob/master/docs/...
    comment by contextfree · 2021-06-20 · in Obvious and possible software innovations
  9. Interesting. The real thing here is the Win32 Metadata project: https://github.com/microsoft/win32metadata It contains definitions that can be used to automatically generate bindings to any language. So, we have C# and Rust as examples,…
  10. See: https://github.com/microsoft/win32metadata#winmd-emitter-ove... It seems at least one of their hacks is not valid in the CLR, so that bridge has been crossed. Plus they do make use of attributes.
  11. …using PInvoke or FFI. Edit: Here is the actual project if anyone is interested in following along. https://github.com/microsoft/win32metadata/
  12. …languages! See win32metadata[0]. This could make interfacing with win32 APIs a lot more convenient! https://github.com/microsoft/win32metadata
    comment by roblabla · 2021-01-21 · in Rust for Windows