GUADEC: Luis Villa points GNOME at the web
GUADEC: Luis Villa points GNOME at the web
Posted Aug 2, 2010 15:34 UTC (Mon) by nye (guest, #51576)In reply to: GUADEC: Luis Villa points GNOME at the web by ras
Parent article: GUADEC: Luis Villa points GNOME at the web
In your opinion. I find Python to be distressingly inelegant at times, and has enough gotchas to be mildly dangerous. Reasonable people can differ here.
>If you are doubting that Python and JavaScript are very similar have a look at Pyjamas, a Python to JavaScript Compiler. Turns out there is almost a 1 to 1 correspondence between Python constructs and JavaScript.
The conclusion doesn't necessarily follow from the premise. Python can be compiled to JavaScript pretty successfully, but I think the reverse would be harder (Python doesn't even have closures; how can you take a dynamic language seriously without closures? :p) - although as we all know, it is possible *in principle* to compile any (Turing complete) language into any other.
This probably doesn't change your point about speed, and it would be interesting to see if the same techniques can be successfully applied to speed up Python, but the fact that JavaScript is improving in that area faster than Python would be a warning sign.
