On Monday, 15 March 2021 at 17:04:56 UTC, evilrat wrote:
On Monday, 15 March 2021 at 16:41:08 UTC, Imperatorn wrote:
Could D be used with WinUI 3?
https://docs.microsoft.com/en-us/windows/apps/winui/winui3/
Would the win32metadata help? 🤔
I've seen some slides about WinUI 3 future directions and
roadmap but haven't tried it yet.
Probably it will be PITA to use it right now in anything not
.NET because of some core dependencies (IIRC some core stuff is
in .NET), but plans have mentions it will be possible to use
with ANY language closer to release date somewhere in Q3 2021.
But if it can be done using C++/WinRT right now then it is
highly likely this will be possible to do it in D as well.
As for WinRT stuff there was some tools and bindings done by
webfreak.
https://github.com/WebFreak001/dwinrt2
and/or
https://github.com/WebFreak001/dwinrt
WinUI core is WinRT, basically modern COM, no :NET dependencies.