3 ms·
It looks very Flutter-like, with Column, Text, and other elements. It seems it renders to canvas potentially, not sure though, if that's how the cross platform
by satvikpendem 7y ago
It looks very Flutter-like, with Column, Text, and other elements. It seems it renders to canvas potentially, not sure though, if that's how the cross platform compatibility works, also like Flutter.
I notice that in many of these GUI frameworks that effort is duplicated. Flutter creates a lot of widgets for iOS and Android, but if you don't want to use Dart, we'll, you'll have to reimplement those widgets yourself again. Instead, what should happen is that they should compile to a standard format, most likely WASM, and then you can use any language (that targets WASM, which I think will be most of them in the future) to interface with those widgets or components. They can be in the form of a canvas renderer such as Skia, which is what Google uses for Chrome and Flutter, and also used by some other GUI projects like Revery for ReasonML. This way, there's one common format and people can write the functionality code in whatever language they'd like.
- jffhn 7y ago>[widgets] should compile to a standard format, most likely WASM, and then you can use any language (...) to interface with those widgets or components. Or be based on a standard canvas-level API that would be easy to support in most languages (à la OpenGL, but much easier to use for 2D, and more complete (windowing, user events, text, images, etc.), or like P0267R0 but not confined to a particular language).
- satvikpendem 7y agoOpenGL would be cool. Skia is nice because it's designed for UI as opposed to other uses. I'm not sure what other alternatives for Skia exist however.
- pjmlp 7y agoAlso known as .NET and COM/UWP on Windows, and as experience proves, each of the languages that wants a piece of the pie has either to grow language extensions, or the controls have to be constrained to the API space that can be safely exposed to all bindings, and the UI designers don't get to work with all of them.