• jimmy90@lemmy.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    2
    ·
    edit-2
    5 months ago

    thanks to wasm any language is a browser running language. JS is relegated to some token binding boilerplate as part of any framework and with things like servo/tauri rendering html will be pure rust

    • coloredgrayscale
      link
      fedilink
      arrow-up
      11
      ·
      5 months ago

      thanks to wasm any language is a browser running language.

      Theoretically yes, practically you may have to deliver a whole runtime depending on the languagey making websites even bigger and slower to load initially. And unless it’s a webapp with data processing on the client the perceived performance benefits may be negligible.

      • jimmy90@lemmy.world
        link
        fedilink
        arrow-up
        3
        arrow-down
        5
        ·
        5 months ago

        correct

        good languages like rust have tiny bundles and initialize in microseconds, of course :)