Re:PyPy.js: A fast, compliant Python implementation for the web
by ben336 on Wednesday May 06, 2015 @12:56PM
(#9500039)
The other issue with Python in the browser is that the significant whitespace requirement prevents minification, which would bloat download size.
[ Parent
| on HN ]
Re:PyPy.js: A fast, compliant Python implementation for the web
by dragonwriter on Wednesday May 06, 2015 @01:11PM
(#9500151)
Significant whitespace (in all languages, really, its a difference of degree rather than kind) constrains, but does not prevent, minification. (Idiomatic python code can be reduced by three chars per indentation level on each line with no impact on semantics, and of course other transformations that aren't whitespace elimination that are past of minification are unaffected.)
Heck, there are existing python minification tools.