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
20082026
-
…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 -
…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 -
…[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
comment by slimsag · 2024-09-30 · in Visual Studio Code is designed to fracture (2022) -
…easy for library authors to generate the externs with their relatively new Win32metadata package: https://github.com/microsoft/win32metadata
comment by Ciantic · 2024-05-25 · in LuaRT: Lua programming environment for console, desktop applications for Windows -
…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 -
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…
comment by MaulingMonkey · 2022-09-28 · in Is it time to retire C and C++ for Rust in new programs? -
…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 -
…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 -
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,…
comment by jedisct1 · 2021-01-24 · in Making Win32 APIs More Accessible to More Languages -
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.
comment by ChrisSD · 2021-01-24 · in Making Win32 APIs More Accessible to More Languages -
…using PInvoke or FFI. Edit: Here is the actual project if anyone is interested in following along. https://github.com/microsoft/win32metadata/
comment by jarjoura · 2021-01-23 · in Microsoft Opens Up Old Win32 APIs to C# and Rust -
…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