• ReversalHatchery@beehaw.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 months ago

    Honestly I’m better off this way, personally. At least javascript is text, and very often readable after pretty printing and debuggabke as a user, I’m not comfortable with loading basically opaque binaries for websites.

    • samc@feddit.uk
      link
      fedilink
      English
      arrow-up
      3
      ·
      8 months ago

      Isn’t production JavaScript usually minified/obfuscated to make it hard to read?

      Also wasm is actually bytecode, which I believe has a 1:1 conversion into a text-based format called wat.

      I agree with your main point though, it’s kinda creepy when you realise just how much we are expected to allow other people’s code to run on our machines.

      • ReversalHatchery@beehaw.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 months ago

        Isn’t production JavaScript usually minified/obfuscated to make it hard to read?

        Somewhat, but often it’s still readable. Or maybe I just don’t look at it often enough to notice the worse cases…

        Also wasm is actually bytecode, which I believe has a 1:1 conversion into a text-based format called wat.

        That’s good to be aware of, thanks!