News for hackers. Stuff that matters.
Re:Swift on Windows by simonh on Wednesday September 23, 2020 @02:03AM (#24563507)
Mono reimplemented WinForms from scratch, and any port of WPF would also have to be a from scratch reimplementation. Same for SwiftUI.
Re:Swift on Windows by DaiPlusPlus on Wednesday September 23, 2020 @02:27AM (#24563631)
But they don't need to reimplement it entirely from scratch or as a clean-room implementation because:

1. WPF is now MIT-licensed.

2. Unlike WinForms, the bulk of WPF is managed-code, not a thin-wrapper over Win32.

Therefore anyone can now port WPF to Linux, macOS, etc - and they only need to port the "PresentationCore" part of WPF (i.e. the native parts that expose Direct3D drawing surfaces to WPF).