Re:SwiftUI
by munificent on Monday June 03, 2019 @08:47PM
(#20090665)
> I wonder if it would be possible to make a "meta-framework" that uses a single code-base to compile user written code into source code written in those 3 frameworks respectively.
Flutter targets native code on Android and iOS and JavaScript for the web. It has very mature compilers for all three.
>I wonder if it would be possible to make a "meta-framework" that uses a single code-base to compile user written code into source code written in those 3 frameworks respectively.
Just no. As an Apple user, just use whatever the tools they give you when you're developing for Apple platforms.
It would be great until you need to debug something. Then it would be a nightmare.
All meta-platforms are themselves platforms; meta-ness is in the implementation. So you could always do this no matter what you started from, but it's not actually a good idea.
Then you would get truly native, cross-platform development.
Now, the probability this would ever work is 1%, but it's something that has lingered in my mind anyway.