top | item 40893200

Flet – multi-platform apps in Python powered by Flutter

38 points| Sparkenstein | 1 year ago |flet.dev

19 comments

order

skybrian|1 year ago

For every sufficiently successful single-language ecosystem, there will be people trying to use a different language, turning it into a multi-language ecosystem.

Also, for every sufficiently successful multi-language ecosystem, there will be people trying to get it to support one more language.

j-r-d|1 year ago

Why though? Flutter was built for Dart and, while not my favourite language, it does that job very well. When the major drawback of all multi-platform frameworks tends to be performance, how does using a much slower, non-compiled language improve things?

skybrian|1 year ago

There are lots of Python libraries out there. There might be some with no Dart equivalent?

But if you don’t care about using them, maybe it’s not that compelling.

hgyjnbdet|1 year ago

I have some confusion how a dynamically typed interpreted language that allows nulls interfaces with something that expects types, null safety, and ultimately is compiled.

bozhark|1 year ago

“View via iOS Flet app” is not “enables developers to easily build realtime web, _mobile_ and desktop apps in Python.”

wffurr|1 year ago

I think that is poorly worded. Reading the docs (https://flet.dev/docs/publish), much like Flutter, this compiles to an IPA for your own app that you can deploy.

I think they are referring to the Flet app shell that is the native shim for Flutter and Python.

jdthedisciple|1 year ago

[deleted]

PrivateButts|1 year ago

Probs less of a don't use dart motivation and more of a "here's another option if you're a python dev". Especially since nobody seems in love with the current state of desktop UI frameworks for Python.

Also potentially a move to make Flutter more of a cross language standard for interfaces to oppose electron?

croes|1 year ago

It doesn't matter if it's any easy language, a new language to learn is a new language to learn.

Same reason why NodeJs exists, you can use what you already know.

zem|1 year ago

you have a large app using a bunch of python libraries and now you want to add a GUI to it and you like flutter. what, e.g., is the dart equivalent of networkx?

vouaobrasil|1 year ago

All these multi-platform kits are getting fatiguing. Electron, sciter, neutralino, proton native...there are hundreds of others, and now Flet. Reminds me of the Google/Apple app stores, where there are 100+ solutions for the same problem, and all of them suck.

I wonder if we really did a good thing by building this "app culture" where everything needs a little "app" as a way of extracting a little more money from people. Although "app" means application, the word "app" is apt because it signifies the commercialization of applications into advertisements-as-a-program, in the same way that YouTube transformed videos into advertisements-as-a-video.

What a mess.

brigadier132|1 year ago

All of the good things you know came from a sea of bad things. There does not exist a world where only "perfectly designed" products and tools exist.

exe34|1 year ago

my issue with these hacks is that the moment you want to do something not already implemented, you have to now learn not only how to do it on the original platform but also figure out how to hack it into the hack. e.g. keep screen on, Bluetooth, gps, etc.