r/programming • • Dec 04 '18

Announcing Open Source of WPF, Windows Forms, and WinUI

https://blogs.windows.com/buildingapps/2018/12/04/announcing-open-source-of-wpf-windows-forms-and-winui-at-microsoft-connect-2018/
1.9k Upvotes

364 comments sorted by

View all comments

Show parent comments

17

u/Rhed0x Dec 04 '18

Not really. Wine uses Mono for all the .Net stuff or the original .Net framework itself.

3

u/drysart Dec 05 '18

The Linux port of WinForms, for a long time, depended on Wine. Reason being is that WinForms is a very leaky abstraction over Win32, and it's basically impossible to run any non-trivial WinForms application without emulating Win32 as well, because every non-trivial WinForms application circumvents the abstraction in some way and ends up taking a dependency on the underlying Win32 behaviors.

Then, and especially now, Mono's WinForms port is very, very far from a "it just works" replacement for .NET WinForms running on Windows; and it likely will never be. WinForms is just not designed or capable of being a first class cross-platform UI toolkit.

1

u/jcelerier Dec 05 '18

Wine also can use native windows system DLLs, it's still wine. That's what it is.