Re:BeeWare – write Python, run everywhere using native UIs
by udbhavs on Sunday February 06, 2022 @03:04PM
(#30236414)
I would love a cross platform native toolkit like this for a typed language like Kotlin or Rust
[ Parent
| on HN ]
Re:BeeWare – write Python, run everywhere using native UIs
by nu11ptr on Sunday February 06, 2022 @04:51PM
(#30237386)
SixtyFPS (https://sixtyfps.io/) is in progress for Rust, but it is still early days. It also does not technically use a native toolkit (it uses Qt), but I believe that might be on roadmap. For traditional GUI apps, I think the lack of a table or tree widget is the most limiting for the time being. They have stated they intend to remedy that.
I should also add that it is GPL - with all that implies. They also have commercial licenses.
Re:BeeWare – write Python, run everywhere using native UIs
by coldtea on Sunday February 06, 2022 @03:32PM
(#30236689)
Well, there is one for Kotlin:
Re:BeeWare – write Python, run everywhere using native UIs
by udbhavs on Sunday February 06, 2022 @03:50PM
(#30236870)
Kotlin multiplattorm doesn't do iOS UI, only some business logic sharing using kotlin compiled to native. The UI layer still needs to be in Swift
Re:BeeWare – write Python, run everywhere using native UIs
by amelius on Sunday February 06, 2022 @04:06PM
(#30236998)
There are so many different languages, that we stopped making any progress!
Re:BeeWare – write Python, run everywhere using native UIs
by nu11ptr on Sunday February 06, 2022 @04:56PM
(#30237421)
I agree with this, and yet, I love these new languages (esp. Rust) so I'd hate to halt progress.
Instead, what I think we need is a solid cross platform native UI library targeting C (libui would be a candidate - before it lost momentum). It would then be a reasonable amount of work to create multi-language bindings. Instead we have things like wxWidgets/Qt that are a pain to create bindings for since it is written in C++. As proof this would accelerate things, notice how many languages have GTK bindings (C based).
Re:BeeWare – write Python, run everywhere using native UIs
by frou_dh on Sunday February 06, 2022 @05:57PM
(#30237928)
libui, even if it was properly maintained, would still only be suitable for toy applications.
As a user, I don't want to use toy applications. So hats off to those who do things properly and use the real platform frameworks.
Re:BeeWare – write Python, run everywhere using native UIs
by jasfi on Sunday February 06, 2022 @05:52PM
(#30237886)
Check out https://nexusdev.tools/
Kotlin/Rust could be supported if there's enough interest.
Re:BeeWare – write Python, run everywhere using native UIs
by pseudalopex on Sunday February 06, 2022 @06:48PM
(#30238354)
It's just a short description and an email address collector. And not native. "Initially for Flutter only. HTML/JS support coming soon."
Re:BeeWare – write Python, run everywhere using native UIs
by bmitc on Sunday February 06, 2022 @06:22PM
(#30238130)
What would your thoughts be if there was one for F#?
Re:BeeWare – write Python, run everywhere using native UIs
by udbhavs on Monday February 07, 2022 @12:04AM
(#30240645)
That would be great too. I haven't gotten around to learning any ML-style languages but it looks very nice. I know MAUI is supposedly in the works for .NET but I'm not sure how it will ultimately turn out compared to Flutter or RN. But if it gets close to its ambitious goals I would definitely give it a try.