Live data from Hacker News

Google's cross-platform Flutter UI toolkit goes 1.0

techcrunch.com

101–110 of 343 posts

Re: Google's cross-platform Flutter UI toolkit goes 1.0

#101
post #46

Google is spending so much money on Flutter , it’s insulting. Honestly, the entire industry is shifting towards JavaScript/Typescript and the only language that they could think of for Flutter is Dart ? This is even more Hypocrite knowing that Flutter doesn’t actually run the Dart VM, it uses AOT and compile to native code. Meaning we could use literally any ECMAScript language to run with Flutter instead of Dart. Th…

I'm not a fan of Dart either, but common JavaScript/TypeScript isn't exactly the holy grail either. JS is basically unusable due to, well lack of types, and TypeScript hacks them into it by hugely increasing complexity of everything. Should have gone with Kotlin. Would just sweep over huge amounts of existing Andoid devs too.

Or Swift

Re: Google's cross-platform Flutter UI toolkit goes 1.0

#102
post #46

Google is spending so much money on Flutter , it’s insulting. Honestly, the entire industry is shifting towards JavaScript/Typescript and the only language that they could think of for Flutter is Dart ? This is even more Hypocrite knowing that Flutter doesn’t actually run the Dart VM, it uses AOT and compile to native code. Meaning we could use literally any ECMAScript language to run with Flutter instead of Dart. Th…

Dart is a really efficient language to compile down to native. Javascript/TS will never be that.

And in what sense it is hypocrisy to compile?

Re: Google's cross-platform Flutter UI toolkit goes 1.0

#103
post #95
post #60

Unless they force Flutter upon Android devs, I will let it pass, not eager to learn Dart.

Dart is fine. Way better than Java. So don't let that stop you, you will pick it up in no time.

Nah, I rather built up my skills with C# and Xamarin, Qt and C++, or PWAs, it is more relevant to my CV.

Re: Google's cross-platform Flutter UI toolkit goes 1.0

#104
post #97

Earlier quoted context omitted.

in today's keynote, google announced that you'll eventually be able to use one dart/flutter codebase for ios, android, mac, windows, linux, and the web. you can't get much more cross-platform than that.

I am aware that you can build one codebase for all those platforms, the question is whether all those platforms are supported. In particular https://github.com/google/flutter-desktop-embedding still says that desktop use of flutter is unsupported. DISCLAIMER: Opinions expressed are my own and do not reflect my employers views.

ios and android are currently well supported. the rest are somewhere off in the future.

in the google keynote today, they revealed that the app they were using for showing slides was a flutter app running on a mac.

Re: Google's cross-platform Flutter UI toolkit goes 1.0

#105
post #91
post #83

Cross-platform frameworks that don’t use native controls have suffered from problems... - They inevitably don’t look or work like native apps in ways both big and small, frustrating and annoying users. (... the spell-checker doesn’t work right or text selection is janky or unavailable where it should be, certain short-cuts work differently or have different gestures or keys, etc.) - they don’t get updates to native c…

> - They inevitably don’t look or work like native apps in ways both big and small, frustrating and annoying users. We're way past that in the mobile world, where both Google, Facebook, and other top dogs use non-native cross platform frameworks and looks (e.g. Material UI).

Material UI just happens to be the official Android UI.

Re: Google's cross-platform Flutter UI toolkit goes 1.0

#106
post #67

Writing plugins/bindings for native code in flutter doesn't look fun. Almost 100 lines of code to write binding for function that doesn't take any parameters and returns simple 'int' (int getBatteryLevel()). This just looks even worse than JNI to me. Don't want to even thing how long time it would take me to write bindings for function that do image processing. https://github.com/flutter/flutter/blob/master/examples/…

> We are on the verge of VR and AR and I don't see how flutter can help e.g. processing >100fps Video Feed using OpenCV library.

Use the right tool for the job. Always.

If Flutter can't handle it, it's not the right tool for the job.

Re: Google's cross-platform Flutter UI toolkit goes 1.0

#107

Looks cool but not too much of cross-platform - iOS and Android only. It seems the only really cross-platform GUI technologies still are browser-powered and Qt.

Desktop is in the works: https://medium.com/flutter-community/flutter-on-desktop-a-re...

Re: Google's cross-platform Flutter UI toolkit goes 1.0

#109
post #26
post #5

Flutter renders the whole UI, like a game engine. In the past, this has meant that if there isn't a Flutter implemention of a component (like a video player or map), you couldn't add it to your app. I don't know if that's still true. [edit]: It looks like this has been addressed with the PlatformView widget: https://developers.googleblog.com/2018/12/flutter-10-googles... [edit]: Sorry, bluetidepro - this was supposed…

That's modern development for you. Shipping a copy of Skia so you can render exact facsimiles of Android widgets to a Vulkan context and avoid having Android render Android widgets with Skia to a Vulkan context. A full Chrome copy for your desktop app is whatever, we have the resources, but on smartphones this is actively harmful. It bypasses the hardware compositors. Displaying a video, they have to render that to a…

Seems like some research and benchmarking into this potential issue is in order.

Re: Google's cross-platform Flutter UI toolkit goes 1.0

#110
post #27

Damn - that VSCode theme and color scheme from the screenshot in the article looks really nice. Does anyone know its name? 1: https://techcrunch.com/wp-content/uploads/2018/12/pasted-ima...

The terminal theme looks similar to agnoster:

https://github.com/robbyrussell/oh-my-zsh/wiki/Themes#agnost...

Post reply on HN