Which side are you? Javascript or Typescript - eviltoast
      • marcos@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        1 year ago

        Incredibly powerful type system λλλ

        And the best part, those two interop better than in native code.

          • marcos@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            The wasm ABI allows for a bit more flexibility than the C one.

            I’m not sure how much impact it has on practice (probably very little, otherwise somebody would have fixed it), but in native code there’s a lot of potential for mismatching behaviors from the two different runtimes.

    • redcalcium@lemmy.institute
      link
      fedilink
      arrow-up
      13
      ·
      1 year ago

      You can even compile Fortran code to wasm and run it on a web browser. Who need Javascript’s puny 64bit floating point precision when you can have Fortran’s superior 128bit floating point precision?

      • Knusper@feddit.de
        link
        fedilink
        arrow-up
        10
        ·
        1 year ago

        No, but GUI frameworks can generate it for you. Same goes for DOM access, for which there’s normally only a JavaScript API.

        So, you’ll likely want to read JS, when researching what events or properties you can read/write for certain HTML nodes in the DOM, but with a mature GUI framework, you should not need to write any JS.