Re:WinUI 3 Performance: A Leap Forward
by cosmic_cheese on Thursday May 14, 2026 @04:51PM
(#48141068)
Nice to see. I wonder how feasible it would be to build a plain C interface… would be nice for building bindings to other languages.
[ Parent
| on HN ]
If you enjoy calling COM vtables, and doing the reference counting by hand, by all means.
Re:WinUI 3 Performance: A Leap Forward
by theICEBeardk on Friday May 15, 2026 @06:43PM
(#48154908)
Yeah I remember doing that in one project. And then at least I found c++ and ATL back when it came out. I never went back to doing COM in C after that.
It will need a flashy name, "WinAPI" or something. Just a suggestion
Painful. A lot of the Microsoft interfaces these days are asynchronous and are built around the dev experience of c#/c++ with libraries/runtimes that do a lot of the heavy lifting. So you end up calling functions with ridiculously long names and they aren't like good old win32 calls where you pass in some parameters and you get a result back. Instead you create objects to pass function pointers and data around and who knows when you'll get your result values back.