• jimmy90@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    4 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@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      4 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
        0
        ·
        4 months ago

        correct

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