Live data from Hacker News

Flutter: a Portable UI Framework for Mobile, Web, Embedded, and Desktop

developers.googleblog.com

121–130 of 467 posts

Re: Flutter: a Portable UI Framework for Mobile, Web, Embedded, and Desktop

#121
post #61

Earlier quoted context omitted.

(I'm the Flutter TL.) As a target platform or as a development platform? We don't support targeting Linux out of the box today, but we support Linux as a first-class development platform (it's what I use). That said, we do work on Linux, and if you're willing to do a bit of work, you can use it to write Linux apps. If you want to target X11, you'll need something like https://github.com/google/flutter-desktop-embeddi…

Interesting thanks. I'm looking to make something that can play media and animations would like it to run on beefy PCs as well as tablets if I can.

We're not quite there yet unless you have a high tolerance for pain, but in the coming year we should in a good place to support that kind of thing.

Re: Flutter: a Portable UI Framework for Mobile, Web, Embedded, and Desktop

#122
Who is Satan and why there is evil Best video about this with proofs https://youtu.be/AWNM1-xYI5E

Funny monkey using phone in video Don't think just you can use phone See how he is searching and watching own monkey videos on phone http://bit.ly/2DS4p2R

See what happened when a lion was trying to kill man http://bit.ly/2H2zsKc

Re: Flutter: a Portable UI Framework for Mobile, Web, Embedded, and Desktop

#123
post #121

Earlier quoted context omitted.

Interesting thanks. I'm looking to make something that can play media and animations would like it to run on beefy PCs as well as tablets if I can.

We're not quite there yet unless you have a high tolerance for pain, but in the coming year we should in a good place to support that kind of thing.

pain: bugs or performance, or both? ;-)

Re: Flutter: a Portable UI Framework for Mobile, Web, Embedded, and Desktop

#124
post #5
post #2

Dart could very well end up being the secret weapon behind Flutter. Not only does Dart compile to JavaScript -- it's done this from day 1 -- but it also compiles to ARM binary via LLVM for iOS applications... meaning that compiling to WASM should be a trivial option to enable bringing near-native computational speeds to any targeted platform.

> but it also compiles to ARM binary via LLVM for iOS applications [disclaimer: I am TL for Dart Native Compilers] We currently don't use LLVM for compiling Dart to native and we actually never used it in production - though we previously built couple of prototypes to evaluate potential benefits of using LLVM. We use our own AOT compilation toolchain which has roots in our JIT compiler for Dart. > meaning that compil…

Out of curiosity, why'd you decide not to use LLVM?

Re: Flutter: a Portable UI Framework for Mobile, Web, Embedded, and Desktop

#125

Has Flutter solved its footprint-bloat problem? The internet is littered with reports of 10-100MB+ .ipa and .apk binaries coming out of simple Flutter apps for iOS + Android. Google states they can't imagine the footprint ever dropping as low as 1MB. [1] On Web, 1MB of base runtime is a complete showstopper. Embedded applications may suffer similarly. Does today's announcement mean Google has figured out how to fix t…

To clarify to anyone else who may have been confused as I was: the "quoted" text in the parent post is not an actual announcement from the source URL or anywhere else, but a hypothetical future situation.

Almost gave me a heart attack.

Re: Flutter: a Portable UI Framework for Mobile, Web, Embedded, and Desktop

#126

Has Flutter solved its footprint-bloat problem? The internet is littered with reports of 10-100MB+ .ipa and .apk binaries coming out of simple Flutter apps for iOS + Android. Google states they can't imagine the footprint ever dropping as low as 1MB. [1] On Web, 1MB of base runtime is a complete showstopper. Embedded applications may suffer similarly. Does today's announcement mean Google has figured out how to fix t…

I don’t understand the obsession with small binaries and compiled packages. I care about usability and user experience. If it takes 5mb to have a smooth experience then I’m all for it. It’s funny how we now have fiber having 1GB/s internet speeds and we rant about having 1MB size package being too big. Also, everyone’s moving to 4k now with even bigger transfer/data requirements. tldr; 1mb should be a non issue as lo…

Test on a phone, anything over 1MB will lock up the script parser for a few seconds.

Re: Flutter: a Portable UI Framework for Mobile, Web, Embedded, and Desktop

#128

No one has (yet) mentioned the main reason I ignored Flutter when it initially came out and why I continue to have reluctance - It's google. They have a terrible track record with products AND with libraries. GWT? Dart (pre flutter)? NaCl? How about all those initial Angular devs? That's not a statement on the quality of the result (though some of those examples do indicate concerns), but if I'm not alone in avoiding…

[deleted]

Re: Flutter: a Portable UI Framework for Mobile, Web, Embedded, and Desktop

#129

Flutter for Web is heavily reminiscent of Famous with its custom layout system and off-DOM rendering (or guessing DOM rendering support w/ CSS transforms of divs). To see, just view-source on the NYT demo. Quite divergent from the web platform in my opinion. The fact that they have to re-implement copy and paste (and, accessibility features!) further adds to that: https://medium.com/flutter-io/bringing-flutter-to-the…

God, I totally forgot about Famous. That was honestly one of the weirder things I’ve seen in my years of web development. Such a gorgeous website and yet I never really understood what they were trying to sell me on. So much marketing, such little end result....never went anywhere, never amounted to anything meaningful.

I think one of my first HN comments was meekly raising my hand and asking "OK, but what actually is this?" And getting quite a few (unexpected) upvotes, haha.

Re: Flutter: a Portable UI Framework for Mobile, Web, Embedded, and Desktop

#130

Earlier quoted context omitted.

True, but (unfortunately) it's hardly an outlier in today's ecosystem.

Try importing `flutter/animation` — footprint goes WAY off the deep end. `animation.ddc.js` is 4.4MB alone (unminified), never mind the rest of the runtime AND userland application code. You can see this in the flutter_web/examples/gallery example. [`webdev build` failed for me in examples/gallery, so I'd love to see what a successfully minified version of that example looks like — I'm currently deeply skeptical.] Co…

DDC is not at all a representation of the final size of the code, as it doesn't run any kind of tree shaking, minification or optimization, and the animation library has a lot of things that you will definitely not import.
Post reply on HN