Re:The Death of Flash and Rewriting 1.4M Lines of Code
by kpcyrd on Tuesday December 19, 2017 @01:35PM
(#15962649)
Minified javascript isn't really open source either.
[ Parent
| on HN ]
Re:The Death of Flash and Rewriting 1.4M Lines of Code
by Someone on Tuesday December 19, 2017 @02:43PM
(#15963471)
Non-minified JavaScript with good comments documenting its behavior isn’t (necessarily) open source either.
That you can read the code (or that it doesn’t claim a license) doesn’t make code open source.
Re:The Death of Flash and Rewriting 1.4M Lines of Code
by kpcyrd on Tuesday December 19, 2017 @08:27PM
(#15966181)
Sure, but that definition of opensource wasn't implied with "closed source due to wasm".
Re:The Death of Flash and Rewriting 1.4M Lines of Code
by irrational on Tuesday December 19, 2017 @01:55PM
(#15962903)
No, but there are tons of prettifiers that can get minified/obfuscated JS back into a state that it can be read and reasoned about fairly easily. It's not like minifiying/obfuscating JS compiles it into byte code. It's still plain text.
Re:The Death of Flash and Rewriting 1.4M Lines of Code
by JeanSebTr on Tuesday December 19, 2017 @01:58PM
(#15962947)
As we can use a decompiler with other languages.
Re:The Death of Flash and Rewriting 1.4M Lines of Code
by striking on Tuesday December 19, 2017 @01:59PM
(#15962959)
Barely! It's not far from bytecode in some cases, especially with the advent of asm.js.
Re:The Death of Flash and Rewriting 1.4M Lines of Code
by bogomipz on Tuesday December 19, 2017 @05:24PM
(#15965000)
Do you or anyone else have any recommendations for a good tool to recover minified java script?
Re:The Death of Flash and Rewriting 1.4M Lines of Code
by chr1 on Tuesday December 19, 2017 @06:11PM
(#15965335)
http://jsnice.org works well, though misses many oportunities of restoring variable names based on property names which cannot be minified.