Hacker News new | past | comments | ask | show | jobs | submit login

Another one? Why not fix the six that are already out there?



This basically fixes all of them by building a common umbrella that all existing UI toolkits (UWP, WPF, WinForms, Win32) can use.

This picture summarizes it well - https://github.com/microsoft/microsoft-ui-xaml/raw/master/do...


It's the other way around, isn't it? They're not going to reimplement the Win32 API on top of WinUI, but WinUI uses Win32 in part for its implementation on some platforms (that platform being classic desktop Windows).


What I meant was you can use WinUI 3 in your Win32 app, so it is a UI toolkit that can be used in any other existing UI toolkit.


> This basically fixes all of them by building a common umbrella that all existing UI toolkits (UWP, WPF, WinForms, Win32) can use.

So intead of a screwdriver, a wrench or a hex key you have now a hammer.


You know the XKCD where they have 14 standards , create the a new one to unify them and the result is 15 standards?


Is not WinUI the extraction of the UI part of the UWP stack? Yes namespaces break, but concepts and controls are from the same linage. UWP is more than the UI. It has also sandboxing and deployment.

So essentially, it is not a new UI. Just a new version of an old one.

(consider e.g. WinForms was also ported from .NET Framework to .NET Core. That is also not counted here ;))


> Is not WinUI the extraction of the UI part of the UWP stack? Yes namespaces break, but concepts and controls are from the same linage. UWP is more than the UI. It has also sandboxing and deployment.

The UWP has everything except a GUI.

> So essentially, it is not a UI.

fixed itl

> (consider e.g. WinForms was also ported from .NET Framework to .NET Core. That is also not counted here ;))

So everyday a new framework. How many days will pass until UWP will be obsolete ?


Is this going to be another silverlight? Is WPF deprecated? Is win32 gdi going away?


Actually, I think they made this specifically because win32 is here to stay. UWP is officially dead and you can upload win32 to the Microsoft Store, now. This paves the way for some parts of the UWP dream (works on high dpi, supports touch, fancy graphics without needing custom assets) in win32.

Between this, MSIX, containerization, etc the fat app landscape could be pretty good. Too bad all my vendors who are still releasing fat apps will never modernize and all the new vendors are web-only.


> win32 is here to stay

...separated off in a virtual machine connected over RDP. That's the plan in Windows X at least: https://www.youtube.com/watch?v=ztrmrIlgbIc

They say that the VM and the remote desktop connection are "optimized" but also that UWP/Modern apps will be faster and better for battery life, so it doesn't sound like a great future for win32.


Windows 10x isn't for the destop.


First thing they're launching is a laptop though?

And honestly, I'm a bit tired of the arbitrary computing distinctions between what gets to be a real computer and what doesn't.


UWP is the future of Windows APIs, Win32 is mostly frozen since WIndows XP.

Microsoft is just making UWP similar to what Google is making with AndroidX, detaching the technology from the OS version.


The value of Windows is in the Win32 API, due to the existing investment into software. If you have existing code base, you want to keep it running with minimal ongoing investments.

For a case study of interest for newer APIs, see also Windows RT.


Windows RT failed because of ARM.

Some people are still running critical business on Windows XP, yet the world moves on.


Windows RT failed, because it had no applications, except for MS Office.

So Win32 was there, ISVs just were not allowed to recompile their apps for the ARM target. They were expected to port them to Modern API. Which of course, they didn't.


And the reason ARM caused it to fail was that the applications people wanted didn't exist for it.


> UWP is the future of Windows APIs, Win32 is mostly frozen since WIndows XP.

Frozen is usually a good thing.

> Microsoft is just making UWP similar to what Google is making with AndroidX, detaching the technology from the OS version.

... and from users also. Will they get a lawsuit from Google for copying their UI as they got from Apple ? I think not because the UI is so bad that they will be ashamed to go to court with something like this.


Frozen is only good as means to preserve food.

What did Microsoft copied from Android?!?

If anything, Material 1.0 is heavily based on Metro.


Frozen is good because it means you can develop reliable software that will continue to work in the future without running on a constant treadmill of useless updates.


Frozen and reliable are not synonyms.

It is also hard to get bug fixes without updates.


The API is frozen, not the features and bug fixes. New APIs can be introduced (and are introduced) and bug fixes and features are added. As a very simple example, see how you can enter emojis in any unicode-aware Win32 input box application with Win+; even though this functionality was introduced in (IIRC) Windows 10 Fall Creators Update.


Most of that stuff is done in UWP/COM and exposed in Win32 via interoperability APIs.

When Vista emerged as Longhorn's reboot, all the low level .NET stuff was redone in COM.

Since then all new APIs have been to large extent based on COM.

And what many seems to not yet put on their brain, UWP is the new COM.


My point is that Win32 applications still get both new features and bug fixes, how those are implemented isn't really relevant to what i wrote.


It is because even they come via XAML Islands, or UWP/COM interop, at the end of the day it is still UWP/COM that is going forward.

Looking forward how Windows will look like now that it was officially communicated that Windows 10X is also coming to desktops and laptps, with its sandbox model for 100% of all userspace.


All that is irrelevant, the point is that having a frozen API doesn't mean that the API's implementation is also frozen. You can still get new features on a frozen API as well as new APIs alongside it.


Dead? They still develop it, and I don't see a reason why you would start a new app in Win32 or WPF.


One reason is you know it well and are used to the tooling.


If you ever used Win32, you wouldn't mind abandoning it. It is not good API. If you know WPF, you feel like at home with UWP.


I quite like Win32, my main app used WinForms so I still end up reaching into it quite regularly.


As pointed out in TFA, this offers the option of using the latest APIs in conjunction with the old ones, something that wasn’t possible earlier.

What else did you want them to do? Continue adding features to long deprecated APIs?


> What else did you want them to do? Continue adding features to long deprecated APIs?

Yes. It isn't like deprecating APIs is forced on them by some otherworldly power, they decide to do that and they can also decide to not do that. They are in full control of their technology, they can do whatever they want.


That makes seven then


Ahh, #927. A classic! :P



The alt text has only become funnier with age.

>Fortunately, the charging one has been solved now that we've all standardized on mini-USB. Or is it micro-USB? Shit.


USB-C? Get on with the times!


Situation: There are 15 competing standards and they all have the same name.


Fire and move ...





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: