• AMDIsOurLord@lemmy.ml
    link
    fedilink
    arrow-up
    10
    arrow-down
    3
    ·
    9 个月前

    Flutter is native. It gets compiled to an executable, it just takes a render plane from the underlying OS and renders everything in it’s own engine. They’re working on a new render system that will make it go even faster.

    React Native is just a fancy web browser wrapping with some helper APIs.

    • aeharding@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      9 个月前

      React Native is just a fancy web browser wrapping with some helper APIs.

      React native is not a browser. It uses native components.

    • merthyr1831@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      9 个月前

      RN is native too I think, at least it advertises itself as a way to compile some kind of XML syntax into native widgets on either platform. An improvement to PWAs even if I despise typescript

      • hruzgar@feddit.de
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        9 个月前

        yeah, it displays native widgets but there is still a js engine (browser) running in the background. So the basically made a layer between native components and Javascript. But the code which is running is js and js is slow.

        • deadcream@sopuli.xyz
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          9 个月前

          JS by itself is very fast (it’s one of the fastest dynamic languages). It’s interop with platforms APIs that is slow, at the fact that each React app spins up its own instance of Chromium also doesn’t help.