News for hackers. Stuff that matters.
Re:We're forking Flutter by ko27 on Monday October 28, 2024 @04:15PM (#41975709)
It's better in most ways, for example, just recently LG decided to rewrite its TV apps from RN to Flutter

https://webostv.developer.lge.com/news/2024-07-15-new-and-su...

> Most of our apps use React. When we first adopted React, we were pleased with the development productivity it provided, but sadly its initial performance was subpar in terms of start-up time, memory consumption, and responsiveness. After significant and complicated optimizations we reached performance benchmarks that were good enough, and yet we desired a new technology that was both fast and simple.

> To our delight, our very first prototype with Flutter easily exceeded our target benchmarks! Without any optimization whatsoever, our Flutter rewrite launched twice as fast as our original app, consumed less runtime memory, and felt more responsive and playful to use

Re:We're forking Flutter by JavierFlores09 on Monday October 28, 2024 @04:29PM (#41975883)
I wonder how it compares now with the latest version of RN that brings out a lot of performance gains induced by the removal of their native bridge, and also faster startup by making lazy loading of modules the default option
Re:We're forking Flutter by tomduncalf on Monday October 28, 2024 @05:16PM (#41976390)
Sounds like it might be talking about web React, not RN, also
Re:We're forking Flutter by veeti on Monday October 28, 2024 @05:40PM (#41976670)
Not familiar with webOS, but are they talking about React Native specifically or just "web" stack React?
Re:We're forking Flutter by hadad on Monday October 28, 2024 @05:44PM (#41976705)
Misleading on the comment, LG WebOS is using EnactJS (Framework on top of ReactJS) + Chromium Embedded Browser, not native, just webapp on browser.

But React Native is different , JS code compiled to native code using c/c++ compiler on target system. Flutter also do like this one.

Embedded browser is slower than native app, because extra browser layer than native one.

Re:We're forking Flutter by munificent on Tuesday October 29, 2024 @11:01AM (#41984535)
> But React Native is different , JS code compiled to native code using c/c++ compiler on target system. Flutter also do like this one.

Sure, but you're compiling two radically different languages. JavaScript is dynamically typed (even with TypeScript) and Dart has a sound static type system.

It's much easier to compile Dart to efficient native code than it is JavaScript.