Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



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.


> 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.


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


Sounds like it might be talking about web React, not RN, also


Not familiar with webOS, but are they talking about React Native specifically or just "web" stack React?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: