News for hackers. Stuff that matters.
Re:Speedy Desktop Apps with GTK and Rust by vnorilo on Saturday July 06, 2019 @08:20AM (#20369278)
Microsoft and others have MVVM frameworks, such as WPF, which have reactive data binding. Qt Quick also, but I haven't tried it myself. That said, it is not that similar to React or Vue because the "DOM"s are so different.
Re:Speedy Desktop Apps with GTK and Rust by baybal2 on Saturday July 06, 2019 @10:18AM (#20369795)
Try to use WPF from anything other than dotnet. It will be hard, given that you will have to hack its main loop to work with an external code. I'm not sure if that was ever done.
Re:Speedy Desktop Apps with GTK and Rust by pjmlp on Saturday July 06, 2019 @01:35PM (#20370732)
It works from any language that speaks COM.
Re:Speedy Desktop Apps with GTK and Rust by baybal2 on Saturday July 06, 2019 @02:07PM (#20370944)
Any real world examples?
Re:Speedy Desktop Apps with GTK and Rust by pjmlp on Monday July 08, 2019 @05:41AM (#20381246)
Probably not the way you are thinking.

- Write the WPF view code in any .NET language and expose the classes to COM as COM Callable Wrapper (https://docs.microsoft.com/en-us/dotnet/framework/interop/co...)

- Similar way, but using Windows HWND messages instead, https://docs.microsoft.com/en-us/dotnet/framework/wpf/advanc...

- Or if using Windows 10, given that UWP is COM vNext, and Microsoft is merging both worlds, use XAML Islands, https://docs.microsoft.com/en-us/windows/apps/desktop/modern...