logoalt Hacker News

throwaway12polyesterday at 6:44 PM2 repliesview on HN

What about obfuscated WASM blobs? At least obfuscated JS is still basically source code being interpreted, with WASM we will be running proprietary obfuscated binaries in the browser.


Replies

kpcyrdyesterday at 10:46 PM

Obfuscated javascript could still import a WebAssembly polyfill, if there really was any advantage in doing so: https://github.com/evanw/polywasm

Since WebAssembly instructions are much easier to reason about, you could probably auto-optimize away a lot of the obfuscation, like "this is a silly way to do X, so we can just do X directly".

Retr0idyesterday at 7:04 PM

I'd rather deal with an obfuscated WASM blob than obfuscated JS.

show 1 reply