News for hackers. Stuff that matters.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by saagarjha on Tuesday May 07, 2019 @06:50PM (#19854174)
> It’s funny now that there’s fiber having 1GB/s internet speeds, we rant about 1MB size package.

Half the people in the world probably struggle to have access to a 10 Mb/s connection. Even I go to places with connections that are tenuous at best.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by Hixie on Tuesday May 07, 2019 @06:59PM (#19854232)
(I'm the Flutter TL.)

Yeah, I was just writing a design doc earlier today and my math for how big a download we could reasonably expect users to wait for was based on a 5Mbit/s download speed. Half a megabyte takes under a second at that speed, but 5 megabytes takes more like 8 seconds. That's a huge difference. In an environment like the Web, where ephemerality is the norm, you really have to stay below 1MB from what I can tell.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by codedokode on Wednesday May 08, 2019 @01:38AM (#19856130)
Also please consider how many seconds will it take for a cheap Android phone to parse 5 Mb of JS (and how much memory it would take after parsing, which can be up to 10 times more that original code size). I think it can become much more than 8 seconds, and during parsing the browser will likely become unresponsive.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by tracker1 on Wednesday May 08, 2019 @02:32AM (#19856380)
Should try all your Dev and browsing on a 2gb low end Chromebook, and last gen lower end phone for a couple months. Then see how you feel about it all.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by joking on Wednesday May 08, 2019 @05:28AM (#19857219)
I develop apps for tvs, so size and performance matters a lot since they are a lot of tvs already shipped with low end SOCs. newer ones are more powerful, but people doesn't change tv as frequently as phones.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by AlphaSite on Tuesday May 07, 2019 @09:15PM (#19855032)
All of this takes memory. Also i do a lot more than use some crappy flutter calculator.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by sandGorgon on Tuesday May 07, 2019 @09:28PM (#19855110)
India. Next billion users.

Size matters a lot.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by tracker1 on Wednesday May 08, 2019 @02:30AM (#19856366)
It's not just the transfer... It's the compile, load and perceived speed. 1mb compressed and gzipped can be a hundred MB parsed and in memory. Which isn't bad on a modern mid level desktop, but it's crazy on a lower end smart phone.

There are also other factors to consider. I'm not huge in premature optimization, but damn.

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by westoque on Tuesday May 07, 2019 @07:13PM (#19854321)
I think there’s a middleground there that if you want to support these countries then there should be a framework for this (Flutter Lite?).. But if you want the complete feature set that is “bloated” but has good ux/ui support then that should be fine as well.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by vturner on Tuesday May 07, 2019 @09:08PM (#19855001)
"these countries"? I've seen schools in the US with 15 mb/s My mothers, Xfinity, has a low tier, 25mb/s.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by Swalden123 on Tuesday May 07, 2019 @09:14PM (#19855028)
A lot of Australia is still stuck on ADSL with speeds of 5 - 20Mb if your lucky
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by Hixie on Wednesday May 08, 2019 @01:37AM (#19856126)
(I'm the Flutter TL)

Our current plan is to support the complete feature set while still supporting places with connectivity around 5Mbit/s. We are still in very early stages (we only just put out the tech preview today!) but we have some confidence that this is possible. Personally I'm more worried about the performance of layout animations (e.g. resizing paragraphs) than about download size, but again, it's early days still.