Live data from Hacker News

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

developers.googleblog.com

391–400 of 467 posts

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

#391
post #245

Earlier quoted context omitted.

Internal politic wars at Google, with management having popcorns to see who wins at the end. If you are confortable with Qt, JavaFX, Xamarin, there is hardly anything to see with Flutter, plus they are based on programming languages that you actually want to have on your CV, instead of one that was dropped from Chrome and rescued at last minute by AdWords team. Plus, even Fuchsia is not so focused on Flutter anylonge…

> Internal politic wars at Google If you allow internal politics in technical decisions, the old is drowning the new child that is tasked with killing the old every time. This is what really killed Nokia's platform domination in mobile phones. Google should take a note. Nokia had dominating smartphone platform (Symbian) and market dominance in mobile phones. It was becoming old, messy and outdated but still doing fin…

>People working in the money making disc rental side were shut down completely from the discussions where the company future was planned and made.

This is brilliant. I continued to be surprised at how well Netflix executed everything so well. Are there any counter example they didn't do so well?

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

#392

This is the example flutter app for the web - https://www.nytimes.com/games/prototype/kenken#/ This is flash. You can't do anything in it that fills like the web - no copy paste, right clicking causes things to happen. I don't expect games like this to have links and proper bookmarkable urls, but I doubt it'll work as expected if it did. This is the epitome of the problem with flutter - it re-implements the UI, creat…

This is plain javascript.

dart transpiles to js. that's how it's delivered on the web. Nothing surprising there.

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

#393

Earlier quoted context omitted.

If i understood it correctly, React Native basically gives you a JS runtime environment that handles communication with native APIs of the system and is shipped with your app. Flutter (and Dart) will transpile into native code and compile natively for your platform. So on React Native you will have that abstraction layer add runtime latency and package size of your app, while Flutter (Dart) really outputs native code…

Package size for Flutter apps is a lot larger than RN, even the RN Android build that ships it’s own JS runtime. There are complaints everywhere of simple apps reaching 100MB size. As for runtime latency, I’ve recently worked on a RN app that outperformed its native sibling. Looking forward to the Fabric release.

Not really true, you are likely comparing a debug build. An Android Flutter apk sits around 4MB for smallest app. Most of my apk sizes are around 8MB-10MB w/ Flutter

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

#394

Earlier quoted context omitted.

There's more CPU time across 1000 users' browsers than on the server. That doesn't mean you shouldn't try to minimize your load at both ends.

The difference is who pays for the load. And now that developers make the visitors pay for the load (through their electricity bill, and also through their mental state), they don't give a shit about how much the users will have to pay - and thus how much electricity will be unnecessarily wasted on a global scale.

No offense, but you sound like Verizon charging Netflix for what users are pulling down.

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

#395
post #372

Earlier quoted context omitted.

> Which bit was fast? The performance. The comparison macspoofing made was with JavaScript+DOM, not with native applications. I wrote games in Flash and played around with JavaScript+Canvas back when HTML5 was still fresh and Flash was still king. The difference in performance was huge and Flash was faster for years . You'd hear people saying that JavaScript+Canvas was a valid replacement, sure, but those people had…

All good points. But I'm still struggling with the idea of using the word "fast" to describe a technology that brought a 2GHz GPU-accelerated machine to its knees with Scrabble. Perhaps "sucked less than JavaScript"?

Both you and the person you responded to (Crinus) are right. I’ll share some context.

On Windows, Flash was fast but on OS X (as it was called then), Flash performance was atrocious. In fact, this was one of the major reasons why Steve Jobs felt compelled to pen his famous “Flash” article [0], because after getting Apple’s engineers to work directly with Adobe’s engineers, they couldn’t quite get Flash to be performant on the Apple desktop. Jobs added that the single biggest culprit of stability issues reported by customers on Macs was: Flash [0]. I remember this part vividly because my MacBook had never crashed on me until I had Flash in use during a browsing session. The other time this happened was from another Adobe product: Adobe AIR, which I believe uses the Flash engine internally.

Apple worked directly with Adobe because investing the engineering resources needed to make Flash performant and stable didn’t make economic sense for them, but even after this, they couldn’t get it to be stable as desired. Job’s thinking was if you cannot do this on desktops, how on earth will you manage on a resource-constrained device like the iPhone?

[0] https://www.apple.com/hotnews/thoughts-on-flash/

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

#396
It feels wrong architecturally for Google to be pushing this right now:

1) Dart was intended as a Java like language and is inferior to Kotlin, a language they just endorsed on Android yesterday. Dart feels like a step back, not forward. The message is confusing from Google on this front. They have a huge Kotlin developer community already. Why push Dart at all?

2) World + dog is moving towards compiling Kotlin and many other languages to web assembly as well as native. Cross compiling Dart to javascript was maybe a valid choice a few years ago but not in 2019. See e.g. Rust roadmap for this year, .Net 5.0 agenda for MS, Kotlin Native, etc.

3) LLVM seems to be the toolchain of choice for this type of stuff to happen. Go and Kotlin + WASM would be very valid choices for Google to prioritize on this platform.

4) In a browser you need to be driving the DOM to look and feel like a proper web application. If you abandon that notion, you might as well grab something like QT or some other UI toolkit and use that.

My recommendation would be for Google to untangle flutter from Dart and just retire that and focus on WASM and native based runtimes only. That's going to take time and in my view it's inevitable that whatever they are pushing right now is ultimately going to be deprecated in favor of something like that.

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

#397

This is the example flutter app for the web - https://www.nytimes.com/games/prototype/kenken#/ This is flash. You can't do anything in it that fills like the web - no copy paste, right clicking causes things to happen. I don't expect games like this to have links and proper bookmarkable urls, but I doubt it'll work as expected if it did. This is the epitome of the problem with flutter - it re-implements the UI, creat…

Wow. I figured you were exaggerating, but this is dead on. Safari has a native two-fingered-swipe for going back a page, even that's broken here.

I can't believe we gotta do this Flash and Silverlight fight all over again. Google should know better.

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

#398
post #239

Earlier quoted context omitted.

(I'm the Flutter TL.) As far as the bit about Flutter goes: Flutter was started by engineers from the Chrome team, and myself (who worked in the open source team as editor of the HTML standard). We had no relationship with the Dart team at all until some times into the project, when we were looking around for a language to replace JavaScript in our project (codenamed Sky at the time). We considered a large number of…

What is a TL?

Team lead

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

#399
post #239

Earlier quoted context omitted.

(I'm the Flutter TL.) As far as the bit about Flutter goes: Flutter was started by engineers from the Chrome team, and myself (who worked in the open source team as editor of the HTML standard). We had no relationship with the Dart team at all until some times into the project, when we were looking around for a language to replace JavaScript in our project (codenamed Sky at the time). We considered a large number of…

What is a TL?

Team Lead

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

#400
post #239

Earlier quoted context omitted.

(I'm the Flutter TL.) As far as the bit about Flutter goes: Flutter was started by engineers from the Chrome team, and myself (who worked in the open source team as editor of the HTML standard). We had no relationship with the Dart team at all until some times into the project, when we were looking around for a language to replace JavaScript in our project (codenamed Sky at the time). We considered a large number of…

What is a TL?

Team Lead, I'd assume.
Post reply on HN