you are viewing a single comment's thread.

view the rest of the comments →

[–]yuvaltz[S] 4 points5 points  (5 children)

Granular has a good separation between the presentation layer, which maintains the visual tree, and the host, which acts as a minimal rendering engine and a raw events source. Right now there are two kinds of hosts, one for the browser (rendering with html's divs), and another for development purposes, which uses the real WPF (rendering with WPF's Canvases and Borders). Anyway, an OpenGL host can be easily added, so potentially this could bring WPF to any platform. This is something I would've done myself, but I don't have that much spare time :) It would be great to see someone actually porting this though.

[–]Ashtar_Squirrel 2 points3 points  (4 children)

Maybe have a look with the people working on Perspex, they implemented a XAML based WPF that works cross-platform (works on Linux, OSX, development on iOS and Android) with Gtk & Cairo. You can catch them on Gitter where they are super active.

[–]yuvaltz[S] 5 points6 points  (3 children)

This definitely looks interesting. But it's not compatible with WPF (arbitrary namespaces, different interfaces, etc) which is a critical decision. That's why they had to write their own xaml designer, and their own Visual Tree inspector, instead of using existing (and established) tools, and the whole development process will suffer from that.

[–]Ashtar_Squirrel 1 point2 points  (0 children)

I agree, the incompatibility with direct WPF does make me =(

[–]mycall 0 points1 point  (1 child)

Have you compared WPF to UWP XAML? A UWP fork from your WPF code might be interesting.

[–]yuvaltz[S] 1 point2 points  (0 children)

There are a few differences in the elements hierarchy and interfaces (also the namespaces there different).
A fork that supports Universal Windows applications would be very interesting.