Re:Uniting Flutter on web and mobile, and introducing Flutte...
by happa on Tuesday September 10, 2019 @01:01PM
(#20930414)
I hope they are able to release a preview of Flutter on desktop early next year. C-interop for Dart sounds great and might be able to compensate the somewhat lacking native Dart ecosystem.
Re:Uniting Flutter on web and mobile, and introducing Flutte...
by childintime on Tuesday September 10, 2019 @02:31PM
(#20931587)
What might be the concrete use cases of C integration? ML?
I'd rather have integrated support for Wifi access (and Bluetooth), for Arduino-style Iot. Things never quite work as intended (even within an Android version).
Re:Uniting Flutter on web and mobile, and introducing Flutte...
by csells on Wednesday September 11, 2019 @03:42PM
(#20943882)
As one concrete use case, you could use Dart FFI to call Win32 APIs that implement Flutter plugins that support Windows. You should have network access via wifi w/o any trouble today but we do have work to do to support Bluetooth better.
Re:Uniting Flutter on web and mobile, and introducing Flutte...
by wpdev_63 on Wednesday September 11, 2019 @11:19PM
(#20947591)
It would be really amazing if they exposed a C-based interface to flutter. Using performant flutter to target multiple platforms with languages with better library support would be killer.
Though it is understandable that google wants to cultivate their language ecosystems.
Re:Uniting Flutter on web and mobile, and introducing Flutte...
by childintime on Tuesday September 10, 2019 @01:33PM
(#20930816)
The big issue with Flutter on the Web is if the app acts like it is a part of the web, with selectable text. Otherwise it feels like an Abobe Flash substitute: good for some type of applications, not so for others.
Re:Uniting Flutter on web and mobile, and introducing Flutte...
by timsneath on Tuesday September 10, 2019 @10:16PM
(#20935960)
Early days, but this release offers selectable text, right-click context menu provided by the browser.
During development, source code is JavaScript with source maps for debugging the original Dart code from the likes of Chrome DevTools. We also have a production compiler that generates optimized JavaScript when you're ready to deploy.
Re:Uniting Flutter on web and mobile, and introducing Flutte...
by csells on Wednesday September 11, 2019 @03:46PM
(#20943906)
Dart does have it's own compiler that targets the native instruction set for supported platforms, e.g. 32-bit and 64-bit ARM for Android and iOS, x86 for Windows and macOS, etc. We're experimenting with bitcode in case Apple decides in the future that they're rather have iOS and/or macOS apps be submitted that way instead of ARM or x86, as they already have for tvOS and watchOS.
I'd rather have integrated support for Wifi access (and Bluetooth), for Arduino-style Iot. Things never quite work as intended (even within an Android version).
Chris Sells PM, Flutter developer experience
Though it is understandable that google wants to cultivate their language ecosystems.
Inspectable source code would also be desirable.
What's the status on selectable text?
During development, source code is JavaScript with source maps for debugging the original Dart code from the likes of Chrome DevTools. We also have a production compiler that generates optimized JavaScript when you're ready to deploy.
(Disclosure: I'm on the Flutter team)
I’m extremely confused. Isn’t bitcode equivalent to llvm IL ? Doesn’t dart have its own compiler ?
Chris Sells PM, Flutter developer experience
Chris Sells PM, Flutter developer experience