Re:Brainfuck beware: JavaScript is after you (2012)
by zatkin on Monday June 02, 2014 @12:59AM
(#7831964)
I'm curious on what the performance implications are. If I have some JavaScript on a webpage that I want to "obfuscate", would using this accomplish the task?
[ Parent
| on HN ]
Re:Brainfuck beware: JavaScript is after you (2012)
by alcuadrado on Monday June 02, 2014 @01:52AM
(#7832092)
The performance seriously decreases. I haven't measure how much, but I guess it'd only work for very very small scripts.
Re:Brainfuck beware: JavaScript is after you (2012)
by SaturateDK on Monday June 02, 2014 @08:21AM
(#7833064)
Re:Brainfuck beware: JavaScript is after you (2012)
by xxs on Monday June 02, 2014 @04:27AM
(#7832438)
once the eval() invocation is complete and the code generated/compiled the performance should be the same as the code normally written. Basically it's only compiler from []{}!+ to javascript.
Re:Brainfuck beware: JavaScript is after you (2012)
by calibwam on Monday June 02, 2014 @05:30AM
(#7832618)
However, your js files would get really big, and download latency could actually be a performance drop.