Live data from Hacker News

Gio UI – Cross-platform GUI for Go

gioui.org

201–210 of 224 posts

Re: Gio UI – Cross-platform GUI for Go

#201
post #137

Earlier quoted context omitted.

I don’t think that premise of “native UI for anything that needs polish” is true these days. Canonical the company behind Ubuntu have said for some time now that all future app UIs of theirs would be done in Flutter starting with the very first thing people see the installation process. Google just rewrote Google Earth’s UI in Flutter. BMW are doing all of their in-car entertainment systems in Flutter.

Two of the examples mention are platform providers. If they standardize on flutter as their native UI, that’s fine and they are following my suggestion. If they port a BMW app from my dashboard to iOS / Android, I’m 99% sure you’ll see the issues I mentioned. Google earth is fine, but doesn’t feel native. I think that’s fine for some apps (games mostly).

Could you maybe provide a single clear example of how Google earth doesn’t feel native?

Re: Gio UI – Cross-platform GUI for Go

#202
post #173
post #2

A bit off-topic, but what's the best method to build cross-platform mobile & web apps nowadays ? I'm talking either business logic + UI , or just business logic ? like gomobile, rust, typescript, etc ? At some point i thought about using typescript for all business logic, as it seemed the most portable tech, but i realized there's no good way to have decent performance running javascript on iOS.

For mobile, this looks promising: https://skip.tools Transpiles SwiftUI over to Kotlin/JetPack Compose. Native all the way down. Haven't used it in production, but the demos work and are native after going through XCode and Android Studio.

> first-class development environment (Xcode)

this made me lol. As somebody who does mobile dev professionally, the worst thing about iOS dev is how terrible XCode is compared to Android Studio.

There's no way I would want this.

Re: Gio UI – Cross-platform GUI for Go

#203
post #128

Earlier quoted context omitted.

Regarding the "for some reason": Java Swing (and JavaFX, and Windows Forms for that matter) all suffer from lack of integration with modern web browsers. It is near impossible to find a way to combine these model-view-controller based user interfaces with the DOM in a reasonable way. Horrible as it is, web browsers have managed to provide a common platform for user interface delivery. The browser wars have been fierc…

That’s because companies want you tethered to their servers. There are plenty good native apps that doesn’t require to have half GB to run them. Most SaaS coul be native if they want too, but hey, you have a 32GB laptop, right? And we want all your data anyway. Here is our Electron app!

> That’s because companies want you tethered to their servers.

It is slightly more nuanced, IMHO. For enterprise software it actually makes sense to use browser based software, because it saves the IT department a lot of hassle with local installations and version management.

Re: Gio UI – Cross-platform GUI for Go

#204
post #190

Earlier quoted context omitted.

So what if it’s popular? It’s a revenue driver and majority of development is still made by Googlers, as far as I know. If tomorrow Google drops all development, who’s going to pick it up? Or in your opinion GitHub stars would prevent them from dropping it?

People keep saying this about Go in every new Go version post and they keep getting disappointed. If you don't like Google languages, products or services then just quit using them and move on to something else.

> If you don't like Google languages, products or services then just quit using them and move on to something else.

Already did 5 years ago.

Re: Gio UI – Cross-platform GUI for Go

#206
post #181

Earlier quoted context omitted.

You can export the flutter build as HTML, but the point with flutter is not to be a ”website”, it’s supposed to be seen as a ”web-app”. If you are going to create simple static homepage or interactive website, I don’t think Flutter is the right tool. Full fledged cross-platform applications is what Flutter is meant for.

I agree, who cares if a website supports accessibility, no one in the world is vision impaired and uses screen readers right? right?

That's not even my point.

Websites should still support accessability, I would even go as far to say it's a must. I just don't want people to mix up web-applications with websites. I've seen some people create a simple "websites" with Flutter which is totally pointless because it could just been created with html + css.

There is also a section in the Flutter docs that talks about accessability and how you can create accessable apps but I don't know how well it translates to Flutter web.

https://docs.flutter.dev/ui/accessibility-and-internationali...

Re: Gio UI – Cross-platform GUI for Go

#207
post #201

Earlier quoted context omitted.

Two of the examples mention are platform providers. If they standardize on flutter as their native UI, that’s fine and they are following my suggestion. If they port a BMW app from my dashboard to iOS / Android, I’m 99% sure you’ll see the issues I mentioned. Google earth is fine, but doesn’t feel native. I think that’s fine for some apps (games mostly).

Could you maybe provide a single clear example of how Google earth doesn’t feel native?

Welcome screen was a popover on iPhone (only available on iPads, should be a sheet on iPhone), with rounded non standard button and non standard horizontal lines.

“Signed in as” toast wasn’t designed for iOS rounded bottom and “swipe up” bar leaving ugly stripe.

Sheet easing is off, and FPS stutter.

No swipe from left to go back support.

Non standard animations all over. Visible FPS issues (on newest HW)

I could go on and on. Feels like an android app running in an emulator.

Re: Gio UI – Cross-platform GUI for Go

#208
post #71

Seemingly it's using a to render everything just like Flutter on Web, which is known to have problems with accessibility and feel non-native.

I’m curious if anyone has a variant of this idea where an invisible DOM lives alongside the canvas for accessibility reasons. It should work but I imagine it would also take a lot of work.

That's actually how Flutter works now if you enable web accessibility, and it does take a lot of work, and come with a performance cost: https://medium.com/flutter/accessibility-in-flutter-on-the-w...

Re: Gio UI – Cross-platform GUI for Go

#209
post #7

Earlier quoted context omitted.

The best option is probably Flutter right now: https://flutter.dev/ If you don't mind writing the UI native, sharing only business logic code, Kotlin is an option: https://kotlinlang.org/docs/multiplatform.html#kotlin-multip... Kotlin also can do the UI if you use Compose: https://www.jetbrains.com/lp/compose-multiplatform/ ... however, iOS support is still in alpha, and Web is "experimental". If you're not willing t…

[flagged]

Ok this is good to know. Man I thought for a moment flutter will be something Google doesn't kill but no. They are such shareholder automated processes driven that they are imploding from the inside. I'll switch to react native unfortunately. Flutter is definitely better tech but betting on any product from Google is a death knoll.

Re: Gio UI – Cross-platform GUI for Go

#210
post #154

Earlier quoted context omitted.

Reddit post from Project Manager is pretty pointless. If Google decides to get rid of Flutter, they are not going to tell Kevin before hand, they are likely not even going to tell Kevin boss before hand. Stadia employees were swearing up and down that Stadia was full steam ahead despite layoffs until it wasn't. When it happened, it was clear from all Twitter posting that no one except really high up Google Executives…

True, but you could say the same thing about anything. That does not help anyone.

It does help. Words mean less than action. If random people are killed from a division due to decisions "many layers above" it means that division is really not valued. Google will kill off flutter in the future. One should not be building long term apps on it. React native and react luckily have been taken over by the open source community and will live long. Shame though, I really liked flutter. Fuck Google.
Post reply on HN