4 ms·
Unfortunately those APIs seems to be kind of obsolete nowadays. All the nice things are with UWP. I think that WinAPI is not even hardware accelerated. That's a
by vbezhenar 7y ago
Unfortunately those APIs seems to be kind of obsolete nowadays. All the nice things are with UWP. I think that WinAPI is not even hardware accelerated. That's a pity, but what can we expect, when Microsoft themselves botched WinAPI in their own products long ago.
Windows could be so better with their old Windows 2000 style, without all those design jumps around.
- legends2k 7y agoYou can do hardware accelerated stuff atop WinAPI; many, sadly, don't seem to know it. WinRT, is exactly for that; it's the distillation of UWP, which can be used in a simple Win32 app [1] e.g. The modern, hardware-accelerated API for compositing on Windows is Visual Layer (available under `ABI::Windows::UI::Composition`) [2]; it can be used from a Win32 app written in pure C++ [3] and the C++/CX language extension is unneeded. [1]: https://en.wikipedia.org/wiki/C%2B%2B/WinRT https://en.wikipedia.org/wiki/C%2B%2B/WinRT [2]: https://docs.microsoft.com/en-us/windows/apps/desktop/modernize/visual-layer-in-desktop-apps https://docs.microsoft.com/en-us/windows/apps/desktop/modern... [3]: https://docs.microsoft.com/en-us/windows/apps/desktop/modernize/using-the-visual-layer-with-win32 https://docs.microsoft.com/en-us/windows/apps/desktop/modern...
- badsectoracula 7y agoWhat nice things are with UWP? I haven't seen any UWP application i'd consider "nice" :-P. And IMO WinAPI not being hardware accelerated (although i think some parts of it, like filling and blitting, are hardware accelerated) isn't really a big issue - if anything, requiring hardware acceleration from you UI might be a hint that you are making it a bit too flashy. But that might be me preferring plain and compact UIs like those made with Win32 as opposed to website/mobile-like stuff.
- userbinator 7y agoMicrosoft itself doesn't think so highly of UWP now: https://news.ycombinator.com/item?id=19883351 https://news.ycombinator.com/item?id=19883351
- vbezhenar 7y agoOh, thanks, that's nice to know, I missed that. I always liked WinAPI style and I hope that it'll reborn.