Live data from Hacker News

Graphical User Interface Using Flutter in Embedded Systems [pdf]

static.sched.com

101–110 of 202 posts

Re: Graphical User Interface Using Flutter in Embedded Systems [pdf]

#101
post #92
post #30

Earlier quoted context omitted.

I can't figure out flutter. I see so many rave reviews. But I personally tried it and strongly disliked it. The toolkit and Android Studio run horribly slow - like really slow. And the output is basically this generation's flash. Some of the samples I tried on their gallery are mediocre. Very slight, but noticeable sluggishness. Some are just terrible; the 2d transformations moves at like 7fps. Plus there are so many…

Issues with/dislike of Dart is a pretty common refrain. This project is still very early days but the intent is to bring Flutter into Typescript https://github.com/chgibb/hydro-sdk Eventually I hope to bring Flutter to C#, Haxe, and (maybe stretching it) eventually Kotlin, Java and Scala.

>Eventually I hope to bring Flutter to C#, Haxe, and (maybe stretching it) eventually Kotlin, Java and Scala.

Like this? https://pub.dev/packages/starflut

"A new flutter plugin project, which supports flutter to interact with other scripting languages such as python, java, ruby, golang, rust, etc. It is easy to use, supports android and ios platform."

Full warning, I have zero experience with this plugin and zero experience with Flutter.

Re: Graphical User Interface Using Flutter in Embedded Systems [pdf]

#102
post #75

Earlier quoted context omitted.

The vast majority of app developers use toolkits and don't care where the window decorations come from.

Your ignorance is ironically proving his point.

> Your ignorance is ironically proving his point.

How so?

Re: Graphical User Interface Using Flutter in Embedded Systems [pdf]

#104
post #42
post #32

Earlier quoted context omitted.

It's unfortunate that the web mode uses a canvas and won't work with native browser accessibility stuff. That was the show stopper for me last time I've tried it.

(disclaimer: I work on Flutter Web) We actually use plain standard HTML and ARIA attributes for accessibility. If you don't see them, try enabling a screen reader (e.g. TalkBack on Android, VoiceOver on iOS/macOS), then you'll be able to enable accessibility in the app. If you are having problems with a11y, please file a github issue. A11y is very important to us.

How about stuff like being able to select text in the UI? I tried a couple apps in https://gallery.flutter.dev/#/ and none of the text was selectable like in web and desktop interfaces

Re: Graphical User Interface Using Flutter in Embedded Systems [pdf]

#106
post #17

Earlier quoted context omitted.

Yeah, I've seen that. I wish Android would close that gap and switch to standard Linux stack.

There's a reason it doesn't use the standard Linux stack: the standard Linux stack is a garbage fire. Throwing away the userspace of Linux Desktop and replacing it is what allowed Android to thrive.

There is no reason today, besides historic ones.

Re: Graphical User Interface Using Flutter in Embedded Systems [pdf]

#107

I'm surprised React Native didn't get a mention on page 9? React Native works on Sony PS4 using youi.tv: https://www.youi.tv/build-for-ps4-using-react-native-and-you... React Native works on Ubuntu: https://github.com/CanonicalLtd/react-native React Native works on Linux via Electron https://dev.to/evanbacon/making-desktop-apps-with-electron-r... Not strictly speaking aimed at embedded systems but you'd think React N…

Also, the new Xbox store written in React Native: https://twitter.com/reactnativemsft/status/12903403919679569...

Re: Graphical User Interface Using Flutter in Embedded Systems [pdf]

#109
post #34
post #28

Honestly I don't get the appeal of Dart/Flutter for this use case for two major reasons: 1. Dart is garbage-collected; and 2. Dart has optional typing, which is to say it supports type hints but is essentially dynamically rather than statically typed. This presentation claims low overhead so I'm open to be proven wrong here. I wonder how much of that (if true) is Flutter and how much is Wayland (over X). I'd really l…

An important distinction is Embedded and Real-time. Embedded is the all-encompassing tent, while Real-time is a subset thereof. Embedded includes things with GUIs, like fridges. We're not dealing with 128k of RAM. These can run basic GC'd apps just fine. Pauses really aren't any more of a concern than on desktop, or even less so.

>These can run basic GC'd apps just fine

LOL, this explains why every embedded GUI I encounter in these "smart" devices is awfully sluggish and a pain to use, delivering 5fps at most. Thx for the clarification!

Re: Graphical User Interface Using Flutter in Embedded Systems [pdf]

#110
post #8

Too bad Android diverged too far from the rest of the Linux world and isn't using Wayland.

Android pre-dates Wayland by a while, so from my understanding, if Android has a solution before, why would it need to migrate to Wayland? Also mobile use-cases and concerns are fairly different from desktop.

> If Android has a solution before, why would it need to migrate to Wayland?

Same reason Ubuntu dropped Mir - synergy.

Wayland is perfectly capable of handling mobile concerns.

Post reply on HN