When will we be able to use any programming language in the web?

  • demesisxdeleted by creatorBanned from community
    link
    fedilink
    English
    arrow-up
    16
    ·
    edit-2
    4 months ago

    deleted by creator

    • popcar2@programming.dev
      link
      fedilink
      arrow-up
      11
      ·
      2 years ago

      Also WASM can’t directly manipulate the DOM so it can’t really be used for handling HTML/CSS, all front-end stuff still has to be done with JS.

      • vinnymac@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        2 years ago

        While it’s true you can’t do it in WASM directly, there are frameworks that interoperate between WASM and JS, such as Yew

        One only needs to create an interface between them, since WASM is capable of calling JS functions. DOM manipulation then becomes as simple as calling a function in your language of choice, such as with web-sys