Thread overview
WinUI 3
Mar 15, 2021
Imperatorn
Mar 15, 2021
evilrat
Mar 15, 2021
Paulo Pinto
Mar 15, 2021
Siemargl
Mar 15, 2021
Imperatorn
March 15, 2021
Could D be used with WinUI 3?

https://docs.microsoft.com/en-us/windows/apps/winui/winui3/

Would the win32metadata help? 🤔
March 15, 2021
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
March 15, 2021
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.


March 15, 2021
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? 🤔

No need to going in another dead end
March 15, 2021
On Monday, 15 March 2021 at 22:07:35 UTC, Siemargl 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? 🤔
>
> No need to going in another dead end

?