News for hackers. Stuff that matters.
Re:From Asm.js to WebAssembly by AriaMinaei on Friday June 19, 2015 @06:29AM (#9743908)
I agree that renaming symbols would still save a few more bytes, but I still think that with the right file format, symbol renaming and mangling would become an insignificant, unnecessary micro-optimization.

But that should only be tested in practice, so ... :)

Re:From Asm.js to WebAssembly by dllthomas on Friday June 19, 2015 @03:09PM (#9746968)
This seems backwards. If I have JS source and the identifiers take up 10% of it, then symbol renaming and mangling can shrink my code size by something less than 10%.

If we shrink that other 90%, so that the formerly 10% is now 80%, renaming becomes more attractive.

This doesn't hold if people have a fixed problem with a fixed solution and fixed constraints... but problems and solutions grow.

Re:From Asm.js to WebAssembly by AriaMinaei on Friday June 19, 2015 @06:10PM (#9747971)
> If we shrink that other 90%, so that the formerly 10% is now 80%, renaming becomes more attractive.

Convinced :)