• samc@feddit.uk
    link
    fedilink
    English
    arrow-up
    3
    ·
    7 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
      ·
      7 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!