News for hackers. Stuff that matters.
Re:You can now run WebAssembly on Cloudflare Workers by hackcasual on Monday October 01, 2018 @04:04PM (#18116303)
May I recommend also supporting hex encoding the WASM? I think you'll find that while your file size is larger, it's actually significantly smaller once gzipped.

Edit: Just tested this on https://public.tableau.com/vizql/v_public-release1809140800/...

  runtimeweb.wasm       2,484,043
  runtimewebwasm.b64    3,355,640 
  runtimwebwasm.hex     4,968,086
  runtimewebwasm.b64.gz   974,065
  runtimewebwasm.hex.gz   701,052
  runtimewebwasm.b64.br   718,918
  runtimewebwasm.hex.br   466,221
So with gzip -9, hex encoding is 72% of the size, with brotli (defaults) size is 65% of the size.
Re:You can now run WebAssembly on Cloudflare Workers by buu700 on Monday October 01, 2018 @04:53PM (#18116719)
Hmm, thanks for the tip, and thanks for testing that out so I don't have to! It hadn't occurred to me that that would be the case, but it makes some sense after reading through https://stackoverflow.com/q/38124361/459881. I'll go ahead and open an issue with emscripten about this.
Re:You can now run WebAssembly on Cloudflare Workers by hackcasual on Monday October 01, 2018 @05:09PM (#18116834)
Yep, it's one of those counter intuitive things. Another benefit from using hex is the decoder is a lot simpler and easier for the JIT to vectorize.