top | item 41976705

(no title)

hadad | 1 year ago

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.

discuss

order

munificent|1 year ago

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