News for hackers. Stuff that matters.
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.
Re:WinUI 3 Performance: A Leap Forward by pjmlp on Thursday May 14, 2026 @05:57PM (#48141805)
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.
Re:WinUI 3 Performance: A Leap Forward by usrnm on Thursday May 14, 2026 @05:51PM (#48141752)
It will need a flashy name, "WinAPI" or something. Just a suggestion
Re:WinUI 3 Performance: A Leap Forward by jimjimjim on Thursday May 14, 2026 @05:52PM (#48141759)
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.