Better HN
topnewbestaskshowjobs
Log inSign up

matt_kn

11 karma · joined Jun 3, 2021 (5y ago) · 5 submissions

Submissions

comment 9mo ago · link · parent

Bundle size matters until it doesn't. Flutter is absolutely not suitable for web pages, but for web applications the situation is different. I was quite hesitant about Flutter web, up until around 3 years ago, the binary size being biggest concern. That was until I looked at Linear (which we used back then) and found out that the download is several times larger than whatever we were building with Flutter web, and nobody cared. I used to obsess about every kilobyte transferred, but I think at least when it comes to applications, that time might be over.

comment 10mo ago · link · parent

It has been like that since the very beginning (sky engine).

comment 10mo ago · link · parent

That is absolutely not true. Elements with dirty layouts are tracked and layout is only recomputed up to the neearest layout boundary.

comment 10mo ago · link · parent

I'm looking at the code but I don't quite see that?

  auto start= result.indexOf("http://");
  ...
  auto end= result.indexOf("\r", start);
  ...
  m_describeUrl= result.sliced(start, end - start);
I don't think end can ever be < start (other than < 0 if not found, which is handled).

5.

NativeShell (Experimental meta-embedder for Flutter)(matejknopp.com ↗)

3 points · by matt_kn · 5y ago · discuss