163 points by absqueued 2 days ago | 80 comments | View on ycombinator
quietbritishjim 1 day ago |
norman784 1 day ago |
Also in the era of AI, sharing native code is easier than ever, just compile down to WASM for the web and for the other binary.
PostOnce 2 days ago |
pythonRon 1 day ago |
bnchrch 2 days ago |
I believe Python has done more harm than good to the industry.
Its by nature very inefficient, it leads you in the direction to some very poor abstractions (inheritance, monkey patching, mixins etc) and as a result code that is very prone to subtle bugs and issues.
It deserves all the love it gets as an approachable language, but it deserves a lot more flack for everything else.
pietz 2 days ago |
40four 2 days ago |
The problem is I don’t want to use Python for everything that bad. If I’m going to reach for a cross platform toolkit these days, I’m personally going to reach for Tauri. Could be useful if you’re really married to Python I suppose.
ricardobeat 2 days ago |
bobajeff 2 days ago |
ChrisChou 2 days ago |
claytongulick 2 days ago |
Sort of limits how useful it would be for me - Bluetooth is one of the only reasons I'd do a native app instead of PWA.
nop17 1 day ago |
skeledrew 2 days ago |
xiaohanyu 2 days ago |
And for web, does it generate plain HTML/CSS, the DOM tree, or just generate everything in a canvas?
bjord 2 days ago |
rsrsrs86 about 20 hours ago |
undefined 1 day ago |
joyahmed 1 day ago |
t3r 2 days ago |
Wren_ops 2 days ago |
tamimio 2 days ago |
I've used this for a fairly complex app at work and it's great. (It's certainly not vibe coded as one commenter suggested.) It's a Python layer on top of Flutter, and it was the only UI framework I could find for Python that was fast and worked on all major desktop and mobile OSs. I think maybe Kivy could too but it seemed like it would be an uphill struggle for a good desktop app.
It's a bit of a gateway drug for pure Flutter. If you need some complex, quickly updating control then you can write a Flutter control (in Dart) and wrap it in a Flet (for Python) control for better performance than doing it all in Python. I've ended up doing that for the main display in our app, and there's always the option to move more and more business logic into that.
One downside to Flet is that I wish they didn't try "fix" some design decisions in Flutter. For example, they have a Flet "Container" widget that wraps a bunch of different Flutter layout widgets. The Flet version does seem easier to understand to me, but there's just so much more documentation (and StackOverflow answers etc.) for Flutter than for Flet that it would be easier overall if they just mirrored the Flutter controls precisely.