News for hackers. Stuff that matters.
Re:Skip Is Now Free and Open Source by winrid on Wednesday January 21, 2026 @03:42PM (#46711265)
Flutter re-generates the entire layout every tick and diffs it (immediate-mode), like a game engine. If your device isn't quite fast enough it'll lag, yep. RN is retained mode (but written in immediate-mode style and the diffing only happens when it has to).
Re:Skip Is Now Free and Open Source by SoKamil on Wednesday January 21, 2026 @07:13PM (#46713547)
Interesting, I didn’t know that it was immediate mode. According to the article [1] though, it now uses rendering engine with Retained Mode due to performance issues.

[1] https://medium.com/@0s.and.1s/flutter-part-iv-skia-vs-impell...

Re:Skip Is Now Free and Open Source by winrid on Wednesday January 21, 2026 @10:52PM (#46715097)
ah neat, so they rewrote the rendering engine in C++ and exposed it via Dart APIs, as opposed to everything being in Dart.
Re:Skip Is Now Free and Open Source by matt_kn on Thursday January 22, 2026 @04:49AM (#46717139)
It has been like that since the very beginning (sky engine).
Re:Skip Is Now Free and Open Source by realusername on Wednesday January 21, 2026 @07:37PM (#46713724)
I'd say it's the opposite, on crappy devices, Flutter feels faster than native, not sure how but that's the end result. I've been testing on an old Samsung J3 and it's definitely better than native.

That's also maybe why it's so popular in India.

Re:Skip Is Now Free and Open Source by agentifysh on Thursday January 22, 2026 @02:41AM (#46716332)
Flutter is essentially a game engine so it bypasses the typical cycles involved with native widgets and there are several different ways why Flutter works well on lower end phones
Re:Skip Is Now Free and Open Source by matt_kn on Thursday January 22, 2026 @04:48AM (#46717121)
That is absolutely not true. Elements with dirty layouts are tracked and layout is only recomputed up to the neearest layout boundary.
Re:Skip Is Now Free and Open Source by winrid on Thursday January 29, 2026 @10:55AM (#46811866)
Weird, it looks like you're right but I recall their early marketing saying stuff like just rebuild the whole layout, it's cheap since it's compiled. They must have meant it's cheap to rebuild as needed haha