• Tekhne@sh.itjust.works
    link
    fedilink
    arrow-up
    9
    arrow-down
    2
    ·
    1 year ago

    To my understanding, you can’t really use WebAssembly for the frontend - it doesn’t support manipulating the DOM, so you still need to offload a lot of the work to JS. It’s an uncontested language when it comes to web frontend.

    • r1veRRR@feddit.de
      link
      fedilink
      arrow-up
      11
      ·
      1 year ago

      It does support it, it’s just slower than JS. WA is faster in other aspects though, so frameworks that compile to WA (like the Rust framework Leptos) still end up being faster than a lot of JS ones.